aboutsummaryrefslogtreecommitdiff
path: root/src/lib_jit.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib_jit.c')
-rw-r--r--src/lib_jit.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/lib_jit.c b/src/lib_jit.c
index 12f51d75..817c2967 100644
--- a/src/lib_jit.c
+++ b/src/lib_jit.c
@@ -346,11 +346,7 @@ LJLIB_CF(jit_util_tracek)
346 ir = &T->ir[ir->op1]; 346 ir = &T->ir[ir->op1];
347 } 347 }
348#if LJ_HASFFI 348#if LJ_HASFFI
349 if (ir->o == IR_KINT64 && !ctype_ctsG(G(L))) { 349 if (ir->o == IR_KINT64) ctype_loadffi(L);
350 ptrdiff_t oldtop = savestack(L, L->top);
351 luaopen_ffi(L); /* Load FFI library on-demand. */
352 L->top = restorestack(L, oldtop);
353 }
354#endif 350#endif
355 lj_ir_kvalue(L, L->top-2, ir); 351 lj_ir_kvalue(L, L->top-2, ir);
356 setintV(L->top-1, (int32_t)irt_type(ir->t)); 352 setintV(L->top-1, (int32_t)irt_type(ir->t));