Skip to content

Commit 9500735

Browse files
committed
Re-enable CSE for temporary variables as we don't bind them anymore
1 parent 6efc8ab commit 9500735

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ext/opcache/jit/zend_jit_ir.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1163,7 +1163,7 @@ static void zend_jit_def_reg(zend_jit_ctx *jit, zend_jit_addr addr, ir_ref val)
11631163

11641164
/* Disable CSE for temporary variables */
11651165
/* TODO: This is a workarounf to fix ext/standard/tests/strings/htmlentities20.phpt failure with tracing JIT ??? */
1166-
if (val > 0 && jit->ssa->vars[var].var >= jit->current_op_array->last_var) {
1166+
if (0 && val > 0 && jit->ssa->vars[var].var >= jit->current_op_array->last_var) {
11671167
ir_insn *insn = &jit->ctx.ir_base[val];
11681168
ir_op op = insn->op;
11691169

0 commit comments

Comments
 (0)