diff options
Diffstat (limited to 'src/lj_trace.c')
-rw-r--r-- | src/lj_trace.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lj_trace.c b/src/lj_trace.c index 60da7fcd..a3980891 100644 --- a/src/lj_trace.c +++ b/src/lj_trace.c | |||
@@ -789,8 +789,8 @@ typedef struct ExitDataCP { | |||
789 | static TValue *trace_exit_cp(lua_State *L, lua_CFunction dummy, void *ud) | 789 | static TValue *trace_exit_cp(lua_State *L, lua_CFunction dummy, void *ud) |
790 | { | 790 | { |
791 | ExitDataCP *exd = (ExitDataCP *)ud; | 791 | ExitDataCP *exd = (ExitDataCP *)ud; |
792 | cframe_errfunc(L->cframe) = -1; /* Inherit error function. */ | 792 | /* Always catch error here and don't call error function. */ |
793 | /* Always catch error here. */ | 793 | cframe_errfunc(L->cframe) = 0; |
794 | cframe_nres(L->cframe) = -2*LUAI_MAXSTACK*(int)sizeof(TValue); | 794 | cframe_nres(L->cframe) = -2*LUAI_MAXSTACK*(int)sizeof(TValue); |
795 | exd->pc = lj_snap_restore(exd->J, exd->exptr); | 795 | exd->pc = lj_snap_restore(exd->J, exd->exptr); |
796 | UNUSED(dummy); | 796 | UNUSED(dummy); |