1
0
mirror of https://github.com/php/php-src.git synced 2026-04-21 15:08:16 +02:00

Fixed tracing JIT support for $http_response_header

This commit is contained in:
Dmitry Stogov
2020-07-08 16:33:46 +03:00
parent 9e8a8e6ab9
commit ad52e4cad9
+3
View File
@@ -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;
}