mirror of
https://github.com/php/php-src.git
synced 2026-04-28 10:43:30 +02:00
Fix incorrect trace type inference when function SSA is not available.
Type of argument CV with type hint is checked only via execution of the corresponding RECV or RECV_INIT instruction.
This commit is contained in:
@@ -1535,7 +1535,7 @@ static zend_ssa *zend_jit_trace_build_tssa(zend_jit_trace_rec *trace_buffer, uin
|
||||
} else {
|
||||
ssa_vars[i].alias = zend_jit_var_may_alias(op_array, ssa, i);
|
||||
}
|
||||
if (op_array->arg_info) {
|
||||
if (op_array->arg_info && i < trace_buffer[1].opline - op_array->opcodes) {
|
||||
zend_arg_info *arg_info = &op_array->arg_info[i];
|
||||
zend_class_entry *ce;
|
||||
uint32_t tmp = zend_fetch_arg_info_type(script, arg_info, &ce);
|
||||
|
||||
Reference in New Issue
Block a user