mirror of
https://github.com/LuaJIT/LuaJIT.git
synced 2025-02-07 23:24:09 +00:00
FFI: Force snapshot after C call to preserve semantics.
This commit is contained in:
parent
7fb1075903
commit
a226fb4cc7
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user