diff options
-rw-r--r-- | src/lj_opt_fold.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lj_opt_fold.c b/src/lj_opt_fold.c index cbcbb448..74b15f32 100644 --- a/src/lj_opt_fold.c +++ b/src/lj_opt_fold.c | |||
@@ -1603,7 +1603,7 @@ LJFOLDF(fload_cdata_init_cnew) | |||
1603 | { | 1603 | { |
1604 | if (LJ_LIKELY(J->flags & JIT_F_OPT_FOLD)) { | 1604 | if (LJ_LIKELY(J->flags & JIT_F_OPT_FOLD)) { |
1605 | IRIns *ir = fleft; | 1605 | IRIns *ir = fleft; |
1606 | PHIBARRIER(fleft); | 1606 | /* Fold even across PHI to avoid expensive allocations. */ |
1607 | lua_assert(ir->op1 != REF_NIL); | 1607 | lua_assert(ir->op1 != REF_NIL); |
1608 | if (IR(ir->op1)->o == IR_CARG) ir = IR(ir->op1); | 1608 | if (IR(ir->op1)->o == IR_CARG) ir = IR(ir->op1); |
1609 | return fins->op2 == IRFL_CDATA_INIT1 ? ir->op1 : ir->op2; | 1609 | return fins->op2 == IRFL_CDATA_INIT1 ? ir->op1 : ir->op2; |