aboutsummaryrefslogtreecommitdiff
path: root/src/lvm.js
Commit message (Collapse)AuthorAge
* src/lvm.js: Optimise luaV_concatdaurnimator2017-05-08
| | | | Do the TString creation in one big Array.prototype.concat
* Add accessors to TValue for TString valuesdaurnimator2017-05-08
|
* src/lvm.js: Fix incorrect stack index in luaV_concatdaurnimator2017-05-08
|
* Move string functions to centralised lstring.jsdaurnimator2017-05-08
|
* Renamed findupval to luaF_findupvalBenoit Giannangeli2017-05-05
|
* Merge remote-tracking branch 'daurnimator/fix-errors'Benoit Giannangeli2017-05-05
|\
| * src/lvm.js: Optimise variable declarationsdaurnimator2017-05-05
| | | | | | | | | | Oddly 'const' on OCi helps, but on anything else dramatically increases runtime Otherwise the reduced scope for other variables is a tiny bit faster
| * src/lvm.js: Remove special casedaurnimator2017-05-05
| | | | | | | | This makes it faster on my computer
* | [test-suite] calls.jsBenoit Giannangeli2017-05-05
|/
* Flatten CallInfo union memberdaurnimator2017-05-05
|
* Simplify UpVal structuredaurnimator2017-05-05
| | | | | | | No longer follows C api as closely (it is the way it is because C has unions) Instead, have a flat object. Also remove the 'setval' method, as it wasn't used from all call-sites and couldn't be extended to them (setval's body only worked with source TValue on a stack)
* An open upvalue already knows which lua_State it comes fromdaurnimator2017-05-05
|
* Need to copy to the stack if not coming from a stackdaurnimator2017-05-05
|
* src/lvm.js: Don't localise lobject membersdaurnimator2017-05-04
|
* Refactor table implementationdaurnimator2017-05-03
|
* LClosure and CClosure shouldn't subclass TValuedaurnimator2017-04-28
|
* Add table construction functiondaurnimator2017-04-28
|
* Remove unused require()sdaurnimator2017-04-26
|
* All core files reference defs.js instead of lua.jsdaurnimator2017-04-26
|
* Added missing lopcode.MAXINDEXRKBenoit Giannangeli2017-04-25
| | | | Which ended up generating an OP_LOADK when not needed
* Force 32bit integer with |0Benoit Giannangeli2017-04-24
|
* No more Table, just TValue with table type and Map valueBenoit Giannangeli2017-04-18
|
* Fixed table comparison (was comparing TValue instead of values)Benoit Giannangeli2017-04-18
|
* luaH_next and luaH_getn are not Table member functionsBenoit Giannangeli2017-04-18
|
* Cache all to_luastring of internal literalsBenoit Giannangeli2017-04-18
|
* Fixed boolean comparisonBenoit Giannangeli2017-04-14
|
* Fixed operators when tonumber usedBenoit Giannangeli2017-04-14
|
* Use Lua's modulo semanticBenoit Giannangeli2017-04-14
|
* hooksBenoit Giannangeli2017-04-14
|
* Constant must be copied !Benoit Giannangeli2017-04-11
| | | | | This fixes an issue where a single constant reference was used in several stack slot resulting in some rather funny things in the VM loop.
* Use opcode numerical constants instead of strings in luaV_executeBenoit Giannangeli2017-04-11
|
* nan, -inf, infBenoit Giannangeli2017-04-10
|
* Fixed bad number comparisonBenoit Giannangeli2017-04-10
|
* 8-bit string internally testsBenoit Giannangeli2017-03-30
| | | | Lexing/Parsing is done on byte rather than js strings
* Proper use of luaO_nilobjectBenoit Giannangeli2017-03-24
|
* Fixed bad lua_tointegerxBenoit Giannangeli2017-03-24
|
* l_strcmp take \0 into accountBenoit Giannangeli2017-03-24
|
* strings.luaBenoit Giannangeli2017-03-24
|
* Testing 8-bit stringsBenoit Giannangeli2017-03-13
|
* [Strings] lvm.jsBenoit Giannangeli2017-03-13
|
* lstrlib, string.lenBenoit Giannangeli2017-03-05
|
* load, luaL_loadbuffer(x), luaL_loadstring, lua_replace, lua_isnone, ↵Benoit Giannangeli2017-03-03
| | | | lua_isnoneornil, lua_setupvalue
* [Parsing tests] CALLBenoit Giannangeli2017-03-01
|
* Bytecode generationBenoit Giannangeli2017-03-01
|
* math.random/randomseedBenoit Giannangeli2017-02-26
|
* math.abs, math.sin, math.cos, math.tan, math.asin, math.acos, math.atanBenoit Giannangeli2017-02-24
|
* TravisBenoit Giannangeli2017-02-24
|
* table.concatBenoit Giannangeli2017-02-24
|
* coroutine.running, upvalue need to be attached to their threadBenoit Giannangeli2017-02-23
|
* Fixed bad lua_gettopBenoit Giannangeli2017-02-23
|