aboutsummaryrefslogtreecommitdiff
path: root/src/lj_ffrecord.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/lj_ffrecord.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lj_ffrecord.c b/src/lj_ffrecord.c
index b298d3f7..938c23b6 100644
--- a/src/lj_ffrecord.c
+++ b/src/lj_ffrecord.c
@@ -259,7 +259,7 @@ static void LJ_FASTCALL recff_setmetatable(jit_State *J, RecordFFData *rd)
259 mtref = tref_isnil(mt) ? lj_ir_knull(J, IRT_TAB) : mt; 259 mtref = tref_isnil(mt) ? lj_ir_knull(J, IRT_TAB) : mt;
260 emitir(IRT(IR_FSTORE, IRT_TAB), fref, mtref); 260 emitir(IRT(IR_FSTORE, IRT_TAB), fref, mtref);
261 if (!tref_isnil(mt)) 261 if (!tref_isnil(mt))
262 emitir(IRT(IR_TBAR, IRT_TAB), tr, 0); 262 emitir(IRT(IR_TBAR, IRT_NIL), tr, 0);
263 J->base[0] = tr; 263 J->base[0] = tr;
264 J->needsnap = 1; 264 J->needsnap = 1;
265 } /* else: Interpreter will throw. */ 265 } /* else: Interpreter will throw. */