Need to handle TBAR in SINK pass.
Can only happen with -O-dse.
This commit is contained in:
@@ -79,7 +79,7 @@ static void sink_mark_ins(jit_State *J)
|
|||||||
case IR_BASE:
|
case IR_BASE:
|
||||||
return; /* Finished. */
|
return; /* Finished. */
|
||||||
case IR_CALLL: /* IRCALL_lj_tab_len */
|
case IR_CALLL: /* IRCALL_lj_tab_len */
|
||||||
case IR_ALOAD: case IR_HLOAD: case IR_XLOAD:
|
case IR_ALOAD: case IR_HLOAD: case IR_XLOAD: case IR_TBAR:
|
||||||
irt_setmark(IR(ir->op1)->t); /* Mark ref for remaining loads. */
|
irt_setmark(IR(ir->op1)->t); /* Mark ref for remaining loads. */
|
||||||
break;
|
break;
|
||||||
case IR_FLOAD:
|
case IR_FLOAD:
|
||||||
|
|||||||
Reference in New Issue
Block a user