summaryrefslogtreecommitdiff
path: root/src/lvm.js
Commit message (Collapse)AuthorAge
* Have lua closures point to directly to their upvalues on stackdaurnimator2017-05-29
|
* src/lvm.js: Fix indentationdaurnimator2017-05-29
|
* Have ltm.luaT_callorderTM return a booleandaurnimator2017-05-27
|
* Modify stack values up to L.top instead of replacingdaurnimator2017-05-27
|
* Use .setclLvaluedaurnimator2017-05-27
|
* Introduce chgfltvalue and chgivaluedaurnimator2017-05-27
|
* Introduce setsvalue2sdaurnimator2017-05-27
|
* src/lvm.js: Use setobjs2s in luaV_finishOp's OP_CONCAT casedaurnimator2017-05-27
|
* Introduce setobj2sdaurnimator2017-05-27
|
* Introduce setobjs2sdaurnimator2017-05-27
|
* src/lvm.js: Use 'uv.isopen' instead of assuming membersdaurnimator2017-05-24
|
* src/lvm.js: Factor out OP_CLOSURE to pushclosuredaurnimator2017-05-24
|
* src/lvm.js: Don't modify tvalues on stack in OP_FORPREPdaurnimator2017-05-24
|
* src/lvm.js: Remove non-wanted TODOs from OP_FORLOOP implementationdaurnimator2017-05-24
|
* src/lvm.js: loops with integers should overflowdaurnimator2017-05-24
|
* Introduce luaO_tostringdaurnimator2017-05-23
|
* src/lvm.js: Introduce cvt2num at mirror cvt2strdaurnimator2017-05-22
|
* Introduce lvm.cvt2strdaurnimator2017-05-22
| | | | In future this could be configurable
* Merge remote-tracking branch 'daurnimator/stack'Benoit Giannangeli2017-05-22
|\
| * Add luaD_checkstack callsdaurnimator2017-05-22
| |
* | Fixed bad boolean handling in luaV_finishOpBenoit Giannangeli2017-05-22
| |
* | luaV_finishOp put concat results in wrong stack slotBenoit Giannangeli2017-05-22
|/
* Checks for nil and NaN table keysdaurnimator2017-05-22
|
* Add TMcachedaurnimator2017-05-22
|
* src/lvm.js: Inline luaV_finishget and luaV_finishset; change recursion into loopdaurnimator2017-05-22
| | | | | Fixes exceeding stack size Brings more in line with C source
* Use Math.imul when multiplying integersdaurnimator2017-05-22
|
* lua_numbertointeger should return false on failuredaurnimator2017-05-21
| | | | Found via behaviour of pushnumint in lmathlib
* Centralise integer mod and div operations to luaV_mod and luaV_divdaurnimator2017-05-21
|
* src/lvm.js: integer unary minus need to be bitwise or-ddaurnimator2017-05-21
|
* Use same mod operator behaviour from both lvm.js and lobject.jsdaurnimator2017-05-21
|
* shifts have different semantics to JS, use add luaV_shiftldaurnimator2017-05-21
|
* Fixed bad boolean comparison in luaV_finisOpBenoit Giannangeli2017-05-21
|
* Fixed bad opcode test in luaV_finishOpBenoit Giannangeli2017-05-21
|
* Use >>> instead of >>Benoit Giannangeli2017-05-20
|
* Fixed bad tonumber tests for bitwise opcodesBenoit Giannangeli2017-05-20
|
* [test-suite] nextvar.js, fixed bad comparison in LTNumBenoit Giannangeli2017-05-19
|
* src/lvm.js: Optimization in luaV_equalobjdaurnimator2017-05-16
|
* src/lvm.js: Fix TODO for tointegerdaurnimator2017-05-16
| | | | Fixes `0.983 == 0` == true
* Partially revert 4cccf8c6b2c2b1af0afafef52bc87477ba7f817adaurnimator2017-05-14
|
* Merge remote-tracking branch 'daurnimator/master'Benoit Giannangeli2017-05-12
|\
| * Rename .pcOff field to l_savedpcdaurnimator2017-05-12
| |
| * Rename CallInfo l_savedpc field to l_codedaurnimator2017-05-12
| |
| * Remove unused L.ciOff/L.nci fieldsdaurnimator2017-05-12
| |
| * src/{ldo,lvm}.js: Copy style from lua C codedaurnimator2017-05-12
| |
| * src/ldo.js: Don't bother keeping around a pool of CallInfo objectsdaurnimator2017-05-12
| |
* | luaV_concat: 'total' should not be used inside the loopBenoit Giannangeli2017-05-12
|/ | | | | If there's a table in the concat sequence, we ended up with a toconcat array with undefined slots.
* src/lvm.js: Stack reallocations aren't a thing in JS; remove base re-settingdaurnimator2017-05-11
|
* src/lvm.js: Setting nil should delete from tabledaurnimator2017-05-11
| | | | Closes #37
* Fixed bad order when trying __lt TM in luaV_lessequalBenoit Giannangeli2017-05-10
|
* Don't do recursive call of luaV_tointeger if luaO_str2num returns falseBenoit Giannangeli2017-05-10
|