diff options
author | daurnimator <quae@daurnimator.com> | 2018-03-04 22:52:09 +1100 |
---|---|---|
committer | daurnimator <quae@daurnimator.com> | 2018-03-04 22:52:09 +1100 |
commit | 80555ae8258b29b7cd72301a8dac81a10f2a7eeb (patch) | |
tree | 2afdde7fc4b7dda40e74aba862f1101091101eed /src/lapi.js | |
parent | 1f5f050ada93ccda9323209e2a7b29851392404e (diff) | |
download | fengari-80555ae8258b29b7cd72301a8dac81a10f2a7eeb.tar.gz fengari-80555ae8258b29b7cd72301a8dac81a10f2a7eeb.tar.bz2 fengari-80555ae8258b29b7cd72301a8dac81a10f2a7eeb.zip |
Remove unwanted TODOs
Diffstat (limited to 'src/lapi.js')
-rw-r--r-- | src/lapi.js | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/lapi.js b/src/lapi.js index 21b6c0d..b011cda 100644 --- a/src/lapi.js +++ b/src/lapi.js @@ -900,7 +900,7 @@ const lua_islightuserdata = function(L, idx) { const lua_rawequal = function(L, index1, index2) { let o1 = index2addr(L, index1); let o2 = index2addr(L, index2); - return isvalid(o1) && isvalid(o2) ? lvm.luaV_equalobj(null, o1, o2) : 0; // TODO: isvalid ? + return isvalid(o1) && isvalid(o2) ? lvm.luaV_equalobj(null, o1, o2) : 0; }; const lua_arith = function(L, op) { @@ -996,8 +996,6 @@ const lua_pcallk = function(L, nargs, nresults, errfunc, ctx, k) { if (errfunc === 0) func = 0; else { - // let o = index2addr(L, errfunc); - // TODO: api_checkstackindex(L, errfunc, o); func = index2addr_(L, errfunc); } let funcOff = L.top - (nargs + 1); /* function to be called */ |