diff options
Diffstat (limited to '')
-rw-r--r-- | src/lj_ccallback.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lj_ccallback.c b/src/lj_ccallback.c index c975c88f..37f45bf5 100644 --- a/src/lj_ccallback.c +++ b/src/lj_ccallback.c | |||
@@ -529,7 +529,7 @@ lua_State * LJ_FASTCALL lj_ccallback_enter(CTState *cts, void *cf) | |||
529 | lua_State *L = cts->L; | 529 | lua_State *L = cts->L; |
530 | global_State *g = cts->g; | 530 | global_State *g = cts->g; |
531 | lua_assert(L != NULL); | 531 | lua_assert(L != NULL); |
532 | if (gcref(g->jit_L)) { | 532 | if (tvref(g->jit_base)) { |
533 | setstrV(L, L->top++, lj_err_str(L, LJ_ERR_FFI_BADCBACK)); | 533 | setstrV(L, L->top++, lj_err_str(L, LJ_ERR_FFI_BADCBACK)); |
534 | if (g->panic) g->panic(L); | 534 | if (g->panic) g->panic(L); |
535 | exit(EXIT_FAILURE); | 535 | exit(EXIT_FAILURE); |