summaryrefslogtreecommitdiff
path: root/ext/opcache/Optimizer/pass10.c
diff options
context:
space:
mode:
authorDmitry Stogov <dmitry@zend.com>2013-03-16 00:41:46 +0400
committerDmitry Stogov <dmitry@zend.com>2013-03-16 00:41:46 +0400
commit34d3202edac0a56b91eb8a305fc1801bbd9b7653 (patch)
treeddea0913d86ecec2962f9e770d9de787c1fd6348 /ext/opcache/Optimizer/pass10.c
parentb1dbfb73571b051fef055dc371e05163cf73eb8b (diff)
parent8d35170c5fe9b9c0c864b7a6c4dc6b0149809569 (diff)
downloadphp-git-34d3202edac0a56b91eb8a305fc1801bbd9b7653.tar.gz
Merge Zend Optimizer+
git-subtree-dir: ext/opcache git-subtree-mainline: b1dbfb73571b051fef055dc371e05163cf73eb8b git-subtree-split: 8d35170c5fe9b9c0c864b7a6c4dc6b0149809569
Diffstat (limited to 'ext/opcache/Optimizer/pass10.c')
-rw-r--r--ext/opcache/Optimizer/pass10.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/ext/opcache/Optimizer/pass10.c b/ext/opcache/Optimizer/pass10.c
new file mode 100644
index 0000000000..3bfcec643a
--- /dev/null
+++ b/ext/opcache/Optimizer/pass10.c
@@ -0,0 +1,3 @@
+if (((ZEND_OPTIMIZER_PASS_10|ZEND_OPTIMIZER_PASS_5) & OPTIMIZATION_LEVEL) == ZEND_OPTIMIZER_PASS_10) {
+ nop_removal(op_array);
+}