Skip to content

Commit

Permalink
Fixed tracing JIT support for $http_response_header
Browse files Browse the repository at this point in the history
  • Loading branch information
dstogov committed Jul 8, 2020
1 parent 9e8a8e6 commit ad52e4c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions ext/opcache/jit/zend_jit_trace.c
Original file line number Diff line number Diff line change
Expand Up @@ -343,6 +343,9 @@ static zend_always_inline int zend_jit_var_may_be_modified_indirectly(const zend
if ((!op_array->function_name || (ssa->cfg.flags & ZEND_FUNC_INDIRECT_VAR_ACCESS))
&& var < op_array->last_var) {
return 1;
} else if (var < op_array->last_var
&& zend_string_equals_literal(op_array->vars[var], "http_response_header")) {
return 1;
}
return 0;
}
Expand Down

0 comments on commit ad52e4c

Please sign in to comment.