com php-src: Remove assertion: ext/opcache/jit/zend_jit_tra ce.c

From: Date: Wed, 11 Nov 2020 15:34:16 +0000
Subject: com php-src: Remove assertion: ext/opcache/jit/zend_jit_tra ce.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-114135@lists.php.net to get a copy of this message
Commit: 03e78543813f1ae3c5591e673f05be292067e47d Author: Dmitry Stogov <dmitry@zend.com> Wed, 11 Nov 2020 18:34:16 +0300 Parents: d776c31a3404ade29dacd3487b99adefdcec09a2 Branches: PHP-8.0 master Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=03e78543813f1ae3c5591e673f05be292067e47d Log: Remove assertion Changed paths: M ext/opcache/jit/zend_jit_trace.c Diff: diff --git a/ext/opcache/jit/zend_jit_trace.c b/ext/opcache/jit/zend_jit_trace.c index 41e81b63f74..4d1ba2f9391 100644 --- a/ext/opcache/jit/zend_jit_trace.c +++ b/ext/opcache/jit/zend_jit_trace.c @@ -829,7 +829,8 @@ static int zend_jit_trace_restrict_ssa_var_info(const zend_op_array *op_array, c } else if (instanceof_function(info->ce, tssa->var_info[ssa_var].ce)) { // TODO: TSSA may miss Pi() functions and corresponding instanceof() constraints ??? } else { - ZEND_UNREACHABLE(); + // TODO: classes may implement the same interface ??? + //ZEND_UNREACHABLE(); } } tssa->var_info[ssa_var].is_instanceof =

« previous php.cvs (#114135) next »