mirror of
https://github.com/LuaJIT/LuaJIT.git
synced 2025-02-07 23:24:09 +00:00
Fix NEWREF marking in SINK pass.
This commit is contained in:
parent
80d0acc7c1
commit
d5b9d84538
@ -179,7 +179,7 @@ static void sink_sweep_ins(jit_State *J)
|
||||
break;
|
||||
}
|
||||
case IR_NEWREF:
|
||||
if (!irt_ismarked(ir->t)) {
|
||||
if (!irt_ismarked(IR(ir->op1)->t)) {
|
||||
ir->prev = REGSP(RID_SINK, 0);
|
||||
} else {
|
||||
irt_clearmark(ir->t);
|
||||
|
Loading…
Reference in New Issue
Block a user