summaryrefslogtreecommitdiff
path: root/ext/opcache/Optimizer/pass9.c
diff options
context:
space:
mode:
Diffstat (limited to 'ext/opcache/Optimizer/pass9.c')
-rw-r--r--ext/opcache/Optimizer/pass9.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/ext/opcache/Optimizer/pass9.c b/ext/opcache/Optimizer/pass9.c
new file mode 100644
index 0000000000..586160c14d
--- /dev/null
+++ b/ext/opcache/Optimizer/pass9.c
@@ -0,0 +1,8 @@
+/* pass 9
+ *
+ * - optimize usage of temporary variables
+ */
+
+if (ZEND_OPTIMIZER_PASS_9 & OPTIMIZATION_LEVEL) {
+ optimize_temporary_variables(op_array);
+}