Inhibit CSE for table.concat().

This commit is contained in:
Mike Pall 2013-04-28 11:31:41 +02:00
parent 4ac25a9132
commit 87993a601d

View File

@ -602,6 +602,8 @@ LJFOLDF(bufstr_kfold_cse)
ira->o == IR_CALLL || ira->o == IR_CARG);
if (ira->o == IR_BUFHDR && !(ira->op2 & IRBUFHDR_APPEND))
return ref; /* CSE succeeded. */
if (ira->o == IR_CALLL && ira->op2 == IRCALL_lj_buf_puttab)
break;
ira = IR(ira->op1);
irb = IR(irb->op1);
}