com php-src: Fixed incorrect deoptimization info: ext/opcache/j it/zend_jit_x86.dasc
| From: | Dmitry Stogov | Date: | Mon, 20 Jul 2020 10:49:46 +0000 |
| Subject: | com php-src: Fixed incorrect deoptimization info: ext/opcache/j it/zend_jit_x86.dasc | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-112241@lists.php.net to get a copy of this message | ||
Commit: d67adc39a089ebd7411dcaa109f12651114e06ba
Author: Dmitry Stogov <dmitry@zend.com> Mon, 20 Jul 2020 13:49:46 +0300
Parents: efce3694b7cea12e3640a47250544fb241d67611
Branches: master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=d67adc39a089ebd7411dcaa109f12651114e06ba
Log:
Fixed incorrect deoptimization info
Changed paths:
M ext/opcache/jit/zend_jit_x86.dasc
Diff:
diff --git a/ext/opcache/jit/zend_jit_x86.dasc b/ext/opcache/jit/zend_jit_x86.dasc
index f2a5c99321..ce2b3d103c 100644
--- a/ext/opcache/jit/zend_jit_x86.dasc
+++ b/ext/opcache/jit/zend_jit_x86.dasc
@@ -10306,8 +10306,7 @@ static int zend_jit_fetch_dim_read(dasm_State **Dst, const zend_op *opline,
cons
res_addr = ZEND_ADDR_MEM_ZVAL(ZREG_FP, opline->result.var);
if (opline->opcode != ZEND_FETCH_DIM_IS
- && JIT_G(trigger) == ZEND_JIT_ON_HOT_TRACE
- && (op1_info &
((MAY_BE_ANY|MAY_BE_UNDEF)-(MAY_BE_ARRAY|MAY_BE_STRING|MAY_BE_OBJECT)))) {
+ && JIT_G(trigger) == ZEND_JIT_ON_HOT_TRACE) {
int32_t exit_point = zend_jit_trace_get_exit_point(opline, opline, NULL, ZEND_JIT_EXIT_TO_VM);
exit_addr = zend_jit_trace_get_exit_addr(exit_point);
if (!exit_addr) {