summaryrefslogtreecommitdiff
path: root/src/lj_opt_sink.c
diff options
context:
space:
mode:
authorMike Pall <mike>2012-07-29 21:33:46 +0200
committerMike Pall <mike>2012-07-29 21:37:31 +0200
commit85f29ffd40ee4cd975c4a6565c657ff8d4a619a6 (patch)
treef6b538530cf5bdba3c302030cd62ddc2684cc01b /src/lj_opt_sink.c
parente84c2a9e9ae5ed667e554471015a5df3bfd8634a (diff)
downloadluajit2-85f29ffd40ee4cd975c4a6565c657ff8d4a619a6.tar.gz
Need to handle TBAR in SINK pass.
Can only happen with -O-dse.
Diffstat (limited to 'src/lj_opt_sink.c')
-rw-r--r--src/lj_opt_sink.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lj_opt_sink.c b/src/lj_opt_sink.c
index 28291d77..5f38b647 100644
--- a/src/lj_opt_sink.c
+++ b/src/lj_opt_sink.c
@@ -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: