com php-src: Stop on fake frame: ext/opcache/jit/zend_jit_v m_helpers.c

From: Date: Wed, 11 Nov 2020 11:54:54 +0000
Subject: com php-src: Stop on fake frame: ext/opcache/jit/zend_jit_v m_helpers.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-114131@lists.php.net to get a copy of this message
Commit: de359c00b41477e80f587612898a957500ff2c0f Author: Dmitry Stogov <dmitry@zend.com> Wed, 11 Nov 2020 14:54:54 +0300 Parents: a0de82ad752920ab46fc909621e96c7cca8c19da Branches: PHP-8.0 master Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=de359c00b41477e80f587612898a957500ff2c0f Log: Stop on fake frame Changed paths: M ext/opcache/jit/zend_jit_vm_helpers.c Diff: diff --git a/ext/opcache/jit/zend_jit_vm_helpers.c b/ext/opcache/jit/zend_jit_vm_helpers.c index 898b7c1f42a..65732004305 100644 --- a/ext/opcache/jit/zend_jit_vm_helpers.c +++ b/ext/opcache/jit/zend_jit_vm_helpers.c @@ -406,7 +406,7 @@ static int zend_jit_trace_recursive_ret_count(const zend_op_array *op_array, con static int zend_jit_trace_has_recursive_ret(zend_execute_data *ex, const zend_op_array *orig_op_array, const zend_op *orig_opline, int ret_level) { - while (ex != NULL && ret_level < ZEND_JIT_TRACE_MAX_RET_DEPTH) { + while (ex != NULL && ex->func != NULL && ret_level < ZEND_JIT_TRACE_MAX_RET_DEPTH) { if (&ex->func->op_array == orig_op_array && ex->opline + 1 == orig_opline) { return 1; }

« previous php.cvs (#114131) next »