diff options
Diffstat (limited to 'src/lj_ccallback.c')
-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 597b3c11..f8d95d39 100644 --- a/src/lj_ccallback.c +++ b/src/lj_ccallback.c | |||
@@ -377,7 +377,7 @@ void LJ_FASTCALL lj_ccallback_leave(CTState *cts, TValue *o) | |||
377 | fn = curr_func(L); | 377 | fn = curr_func(L); |
378 | if (isluafunc(fn)) { | 378 | if (isluafunc(fn)) { |
379 | GCproto *pt = funcproto(fn); | 379 | GCproto *pt = funcproto(fn); |
380 | setcframe_pc(L->cframe, proto_bc(pt)+pt->sizebc); | 380 | setcframe_pc(L->cframe, proto_bc(pt)+pt->sizebc+1); |
381 | } | 381 | } |
382 | callback_conv_result(cts, L, o); | 382 | callback_conv_result(cts, L, o); |
383 | /* Finally drop C frame and continuation frame. */ | 383 | /* Finally drop C frame and continuation frame. */ |