mirror of
https://github.com/php/php-src.git
synced 2026-04-04 06:32:49 +02:00
Fix unbalanced NEW call_level in JIT
For NEW followed by DO_FCALL, we handle both together and skip over the DO_FCALL, which means that the call_level for it will not be decremented. Do so explicitly instead.
This commit is contained in:
@@ -4034,6 +4034,9 @@ static int zend_jit(const zend_op_array *op_array, zend_ssa *ssa, const zend_op
|
||||
zend_jit_do_fcall(&dasm_state, next_opline, op_array, ssa, call_level, b + 1, NULL);
|
||||
}
|
||||
}
|
||||
|
||||
/* We skip over the DO_FCALL, so decrement call_level ourselves. */
|
||||
call_level--;
|
||||
}
|
||||
break;
|
||||
default:
|
||||
|
||||
Reference in New Issue
Block a user