Skip to content

Commit

Permalink
Tracing JIT: Fixed incorrect deoptimization info
Browse files Browse the repository at this point in the history
  • Loading branch information
dstogov committed Feb 11, 2022
1 parent 82bb169 commit d0f965d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ext/opcache/jit/zend_jit_trace.c
Original file line number Diff line number Diff line change
Expand Up @@ -3864,7 +3864,7 @@ static const void *zend_jit_trace(zend_jit_trace_rec *trace_buffer, uint32_t par
}
info &= ~MAY_BE_GUARD;
ssa->var_info[phi->ssa_var].type = info;
SET_STACK_TYPE(stack, i, concrete_type(info), 1);
SET_STACK_TYPE(stack, phi->var, concrete_type(info), 1);
}
SET_STACK_REG_EX(stack, phi->var, ival->reg, ZREG_LOAD);
if (!zend_jit_load_var(&dasm_state, ssa->var_info[phi->ssa_var].type, ssa->vars[phi->ssa_var].var, ival->reg)) {
Expand Down

0 comments on commit d0f965d

Please sign in to comment.