]> git.ipfire.org Git - thirdparty/LuaJIT.git/commitdiff
Don't start stitched trace with CALLMT, too.
authorMike Pall <mike>
Mon, 20 Jan 2014 20:31:06 +0000 (21:31 +0100)
committerMike Pall <mike>
Mon, 20 Jan 2014 20:31:06 +0000 (21:31 +0100)
src/lj_ffrecord.c

index 5e86ed0581211db49c3f016ee94f6dd4977c7bd6..8470dd8c55e0c9cae8c23361f8c61f54f74b178f 100644 (file)
@@ -148,7 +148,8 @@ static void LJ_FASTCALL recff_nyi(jit_State *J, RecordFFData *rd)
     if (J->framedepth && frame_islua(J->L->base-1)) {
       BCOp op = bc_op(*frame_pc(J->L->base-1));
       /* Stitched trace cannot start with *M op with variable # of args. */
-      if (!(op == BC_CALLM || op == BC_RETM || op == BC_TSETM)) {
+      if (!(op == BC_CALLM || op == BC_CALLMT ||
+           op == BC_RETM || op == BC_TSETM)) {
        switch (J->fn->c.ffid) {
        case FF_error:
        case FF_debug_sethook: