summaryrefslogtreecommitdiff
path: root/src/lvm.js
diff options
context:
space:
mode:
authorBenoit Giannangeli <giann008@gmail.com>2017-02-07 21:55:34 +0100
committerBenoit Giannangeli <giann008@gmail.com>2017-02-07 21:55:34 +0100
commit364326b97450564d41d37cdc7b2c4fbb8049c62f (patch)
treedd22cf1a0ae16632842ac5057e272e59e711426a /src/lvm.js
parentc7b6e2364b3ff9bed781215f57a6398979b287d4 (diff)
downloadfengari-364326b97450564d41d37cdc7b2c4fbb8049c62f.tar.gz
fengari-364326b97450564d41d37cdc7b2c4fbb8049c62f.tar.bz2
fengari-364326b97450564d41d37cdc7b2c4fbb8049c62f.zip
First CallInfo expects LUA_MULTRET results
Diffstat (limited to 'src/lvm.js')
-rw-r--r--src/lvm.js2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/lvm.js b/src/lvm.js
index cb2a795..d548e77 100644
--- a/src/lvm.js
+++ b/src/lvm.js
@@ -70,8 +70,6 @@ class LuaVM {
let i = ci.u.l.savedpc[ci.pcOff++];
let ra = this.RA(base, i);
- console.log(`Before ${OC.OpCodes[i.opcode]} L.top is ${L.top}`);
-
switch (OC.OpCodes[i.opcode]) {
case "OP_MOVE": {
L.stack[ra] = L.stack[this.RB(base, i)];