diff options
-rw-r--r-- | src/lj_err.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/lj_err.c b/src/lj_err.c index 8a80c9c8..65029092 100644 --- a/src/lj_err.c +++ b/src/lj_err.c | |||
@@ -904,7 +904,8 @@ LJ_NOINLINE void lj_err_optype_call(lua_State *L, TValue *o) | |||
904 | LJ_NOINLINE void lj_err_callermsg(lua_State *L, const char *msg) | 904 | LJ_NOINLINE void lj_err_callermsg(lua_State *L, const char *msg) |
905 | { | 905 | { |
906 | cTValue *frame = L->base-1; | 906 | cTValue *frame = L->base-1; |
907 | cTValue *pframe = frame_islua(frame) ? frame_prevl(frame) : NULL; | 907 | cTValue *pframe = frame_islua(frame) ? frame_prevl(frame) : |
908 | frame_iscont(frame) ? frame_prevd(frame) : NULL; | ||
908 | err_loc(L, msg, pframe, frame); | 909 | err_loc(L, msg, pframe, frame); |
909 | lj_err_run(L); | 910 | lj_err_run(L); |
910 | } | 911 | } |