aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authordaurnimator <quae@daurnimator.com>2017-05-22 01:01:59 +1000
committerdaurnimator <quae@daurnimator.com>2017-05-22 01:01:59 +1000
commit24df35b8e151bf6d0740b9d4ee87708657271587 (patch)
tree6956640711d1f279dafc27216454e761808ede88 /src
parent43cb3927e09b012ad3bd5444edce57b74f09e9b6 (diff)
downloadfengari-24df35b8e151bf6d0740b9d4ee87708657271587.tar.gz
fengari-24df35b8e151bf6d0740b9d4ee87708657271587.tar.bz2
fengari-24df35b8e151bf6d0740b9d4ee87708657271587.zip
src/lcode.js: Fix incorrect function call order
Diffstat (limited to 'src')
-rw-r--r--src/lcode.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lcode.js b/src/lcode.js
index 3d79f2f..8f964d7 100644
--- a/src/lcode.js
+++ b/src/lcode.js
@@ -1135,8 +1135,8 @@ const luaK_posfix = function(fs, op, e1, e2, line) {
break;
}
case BinOpr.OPR_CONCAT: {
- let ins = getinstruction(fs, e2);
luaK_exp2val(fs, e2);
+ let ins = getinstruction(fs, e2);
if (e2.k === ek.VRELOCABLE && ins.opcode === OpCodesI.OP_CONCAT) {
assert(e1.u.info === ins.B - 1);
freeexp(fs, e1);