com php-src: Enable escape analysis: ext/opcache/Optimizer/dfa _pass.c
| From: | Dmitry Stogov | Date: | Mon, 28 Aug 2017 11:25:07 +0000 |
| Subject: | com php-src: Enable escape analysis: ext/opcache/Optimizer/dfa _pass.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-99176@lists.php.net to get a copy of this message | ||
Commit: c890ee98790fb09a16412a06d42b0fe89fe994c9
Author: Dmitry Stogov <dmitry@zend.com> Mon, 28 Aug 2017 14:25:07 +0300
Parents: 00e4974e2d05c8b9112054b839f55b9d1c359d5a
Branches: master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=c890ee98790fb09a16412a06d42b0fe89fe994c9
Log:
Enable escape analysis
Changed paths:
M ext/opcache/Optimizer/dfa_pass.c
Diff:
diff --git a/ext/opcache/Optimizer/dfa_pass.c b/ext/opcache/Optimizer/dfa_pass.c
index e7619f2..2317fa0 100644
--- a/ext/opcache/Optimizer/dfa_pass.c
+++ b/ext/opcache/Optimizer/dfa_pass.c
@@ -39,10 +39,6 @@
# include "ssa_integrity.c"
#endif
-#ifndef HAVE_ESCAPE_ANALYSIS
-# define HAVE_ESCAPE_ANALYSIS 0
-#endif
-
int zend_dfa_analyze_op_array(zend_op_array *op_array, zend_optimizer_ctx *ctx, zend_ssa *ssa,
uint32_t *flags)
{
uint32_t build_flags;
@@ -111,11 +107,9 @@ int zend_dfa_analyze_op_array(zend_op_array *op_array, zend_optimizer_ctx *ctx,
return FAILURE;
}
-#if HAVE_ESCAPE_ANALYSIS
if (zend_ssa_escape_analysis(op_array, ssa) != SUCCESS) {
return FAILURE;
}
-#endif
if (zend_ssa_find_sccs(op_array, ssa) != SUCCESS){
return FAILURE;