]> git.ipfire.org Git - thirdparty/LuaJIT.git/commitdiff
FFI: Must sink XBAR together with XSTOREs.
authorMike Pall <mike>
Thu, 23 May 2013 20:15:51 +0000 (22:15 +0200)
committerMike Pall <mike>
Thu, 23 May 2013 20:15:51 +0000 (22:15 +0200)
src/lj_snap.c

index aea6102c4c3bba27b3361d59b9d2a1f3d4289582..30ff91528919eaadccbed1837c32b4d0dcf2859f 100644 (file)
@@ -564,6 +564,8 @@ void lj_snap_replay(jit_State *J, GCtrace *T)
                continue;
              }
              tmp = emitir(irs->ot, tmp, val);
+           } else if (LJ_HASFFI && irs->o == IR_XBAR && ir->o == IR_CNEW) {
+             emitir(IRT(IR_XBAR, IRT_NIL), 0, 0);
            }
        }
       }