Explorar o código

FFI: Force snapshot after C call to preserve semantics.

Mike Pall %!s(int64=14) %!d(string=hai) anos
pai
achega
a226fb4cc7
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      src/lj_crecord.c

+ 1 - 0
src/lj_crecord.c

@@ -730,6 +730,7 @@ static int crec_call(jit_State *J, RecordFFData *rd, GCcdata *cd)
       tr = emitir(IRTG(IR_CNEWI, IRT_CDATA), trid, tr);
     }
     J->base[0] = tr;
+    J->needsnap = 1;
     return 1;
   }
   return 0;