1
0
mirror of https://github.com/php/php-src.git synced 2026-04-13 02:52:48 +02:00

Fixed register allocation for tests/lang/operators/preinc_basiclong_64bit.phpt

This commit is contained in:
Dmitry Stogov
2020-07-09 18:54:36 +03:00
parent 9d14bdb377
commit 31258e4550

View File

@@ -2122,9 +2122,12 @@ static zend_lifetime_interval** zend_jit_trace_allocate_registers(zend_jit_trace
|| opline->opcode == ZEND_ADD
|| opline->opcode == ZEND_SUB
|| opline->opcode == ZEND_MUL) {
start[ssa_op->result_def] = idx;
vars_op_array[ssa_op->result_def] = op_array;
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;
vars_op_array[ssa_op->result_def] = op_array;
count++;
}
}
}
if (ssa_op->op1_def >= 0