From 24df35b8e151bf6d0740b9d4ee87708657271587 Mon Sep 17 00:00:00 2001 From: daurnimator Date: Mon, 22 May 2017 01:01:59 +1000 Subject: src/lcode.js: Fix incorrect function call order --- src/lcode.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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); -- cgit v1.2.3-70-g09d2