diff options
Diffstat (limited to 'src/lj_meta.c')
-rw-r--r-- | src/lj_meta.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lj_meta.c b/src/lj_meta.c index 278d2d34..f258e3e1 100644 --- a/src/lj_meta.c +++ b/src/lj_meta.c | |||
@@ -77,7 +77,7 @@ int lj_meta_tailcall(lua_State *L, cTValue *tv) | |||
77 | TValue *top = L->top; | 77 | TValue *top = L->top; |
78 | const BCIns *pc = frame_pc(base-1); /* Preserve old PC from frame. */ | 78 | const BCIns *pc = frame_pc(base-1); /* Preserve old PC from frame. */ |
79 | copyTV(L, base-1, tv); /* Replace frame with new object. */ | 79 | copyTV(L, base-1, tv); /* Replace frame with new object. */ |
80 | top->u64 = 0; | 80 | top->u32.lo = LJ_CONT_TAILCALL; |
81 | setframe_pc(top, pc); | 81 | setframe_pc(top, pc); |
82 | setframe_gc(top+1, obj2gco(L)); /* Dummy frame object. */ | 82 | setframe_gc(top+1, obj2gco(L)); /* Dummy frame object. */ |
83 | setframe_ftsz(top+1, (int)((char *)(top+2) - (char *)base) + FRAME_CONT); | 83 | setframe_ftsz(top+1, (int)((char *)(top+2) - (char *)base) + FRAME_CONT); |