diff options
author | Mike Pall <mike> | 2014-12-15 02:27:27 +0100 |
---|---|---|
committer | Mike Pall <mike> | 2014-12-15 02:27:27 +0100 |
commit | 881f48f9808a950f8e046a3b299db0269506a87d (patch) | |
tree | 43584223f3b77d77af5a3515b3191c21fd012f01 /src/lj_ccallback.c | |
parent | b93b624ad88a9455cb3f12db93a9c5e153ff8a62 (diff) | |
download | luajit-881f48f9808a950f8e046a3b299db0269506a87d.tar.gz luajit-881f48f9808a950f8e046a3b299db0269506a87d.tar.bz2 luajit-881f48f9808a950f8e046a3b299db0269506a87d.zip |
Cleanup of frame handling. No functional changes.
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 b234ec67..bef379a5 100644 --- a/src/lj_ccallback.c +++ b/src/lj_ccallback.c | |||
@@ -432,7 +432,7 @@ static void callback_conv_args(CTState *cts, lua_State *L) | |||
432 | o->u32.hi = rid; /* Return type. x86: +(spadj<<16). */ | 432 | o->u32.hi = rid; /* Return type. x86: +(spadj<<16). */ |
433 | o++; | 433 | o++; |
434 | setframe_gc(o, obj2gco(fn)); | 434 | setframe_gc(o, obj2gco(fn)); |
435 | setframe_ftsz(o, (int)((char *)(o+1) - (char *)L->base) + FRAME_CONT); | 435 | setframe_ftsz(o, ((char *)(o+1) - (char *)L->base) + FRAME_CONT); |
436 | L->top = L->base = ++o; | 436 | L->top = L->base = ++o; |
437 | if (!ct) | 437 | if (!ct) |
438 | lj_err_caller(cts->L, LJ_ERR_FFI_BADCBACK); | 438 | lj_err_caller(cts->L, LJ_ERR_FFI_BADCBACK); |