com php-src: Remove "finally" restriction.: ext/opcache/Optimizer/pass3.c

From: Date: Thu, 03 Oct 2019 23:53:24 +0000
Subject: com php-src: Remove "finally" restriction.: ext/opcache/Optimizer/pass3.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-108706@lists.php.net to get a copy of this message
Commit: bf56daa8c86427b4afdd81a0aab825adcf06ce71 Author: Dmitry Stogov <dmitry@zend.com> Fri, 4 Oct 2019 02:53:24 +0300 Parents: 204660fd9acbeca0f580419f48540d1577857f7a Branches: master Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=bf56daa8c86427b4afdd81a0aab825adcf06ce71 Log: Remove "finally" restriction. Changed paths: M ext/opcache/Optimizer/pass3.c Diff: diff --git a/ext/opcache/Optimizer/pass3.c b/ext/opcache/Optimizer/pass3.c index 1c283bd1516..6e406f11276 100644 --- a/ext/opcache/Optimizer/pass3.c +++ b/ext/opcache/Optimizer/pass3.c @@ -52,10 +52,6 @@ void zend_optimizer_pass3(zend_op_array *op_array, zend_optimizer_ctx *ctx) int i; ALLOCA_FLAG(use_heap); - if (op_array->fn_flags & ZEND_ACC_HAS_FINALLY_BLOCK) { - return; - } - jmp_hitlist = (zend_op**)do_alloca(sizeof(zend_op*)*op_array->last, use_heap); opline = op_array->opcodes; end = opline + op_array->last;

« previous php.cvs (#108706) next »