summaryrefslogtreecommitdiff
path: root/src/lcode.js
diff options
context:
space:
mode:
authorBenoit Giannangeli <giann008@gmail.com>2017-03-31 12:12:21 +0200
committerBenoit Giannangeli <giann008@gmail.com>2017-03-31 12:12:21 +0200
commit6f2f46187fc6947ca63356f735552feebd80d4a9 (patch)
tree5e359ce347d8dfdb4a2493b739f19f83a082841b /src/lcode.js
parentdbcb965525833d167370fdade4ff8da7126be8a6 (diff)
downloadfengari-6f2f46187fc6947ca63356f735552feebd80d4a9.tar.gz
fengari-6f2f46187fc6947ca63356f735552feebd80d4a9.tar.bz2
fengari-6f2f46187fc6947ca63356f735552feebd80d4a9.zip
Fixed infinite loop on 'else'
Diffstat (limited to 'src/lcode.js')
-rw-r--r--src/lcode.js1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/lcode.js b/src/lcode.js
index 752eedf..aefad20 100644
--- a/src/lcode.js
+++ b/src/lcode.js
@@ -359,7 +359,6 @@ const luaK_patchclose = function(fs, list, level) {
** line information. Return 'i' position.
*/
const luaK_code = function(fs, i) {
- // console.log(`${i.opcode}\t${i.A}\t${i.B}\t${i.C}\t${i.Ax}\t${i.Bx}\t${i.sBx}`);
let f = fs.f;
dischargejpc(fs); /* 'pc' will change */
/* put new instruction in code array */