Need to handle TBAR in SINK pass.

Can only happen with -O-dse.
This commit is contained in:
Mike Pall 2012-07-29 21:33:46 +02:00
parent e84c2a9e9a
commit 85f29ffd40

View File

@ -79,7 +79,7 @@ static void sink_mark_ins(jit_State *J)
case IR_BASE:
return; /* Finished. */
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. */
break;
case IR_FLOAD: