We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9d14bdb commit 31258e4Copy full SHA for 31258e4
ext/opcache/jit/zend_jit_trace.c
@@ -2122,9 +2122,12 @@ static zend_lifetime_interval** zend_jit_trace_allocate_registers(zend_jit_trace
2122
|| opline->opcode == ZEND_ADD
2123
|| opline->opcode == ZEND_SUB
2124
|| opline->opcode == ZEND_MUL) {
2125
- start[ssa_op->result_def] = idx;
2126
- vars_op_array[ssa_op->result_def] = op_array;
2127
- count++;
+ if (!(ssa->var_info[ssa_op->result_def].type & MAY_BE_DOUBLE)
+ || (opline->opcode != ZEND_PRE_INC && opline->opcode != ZEND_PRE_DEC)) {
+ start[ssa_op->result_def] = idx;
2128
+ vars_op_array[ssa_op->result_def] = op_array;
2129
+ count++;
2130
+ }
2131
}
2132
2133
if (ssa_op->op1_def >= 0
0 commit comments