summaryrefslogtreecommitdiff
path: root/Zend/zend_vm_opcodes.h
diff options
context:
space:
mode:
authorDmitry Stogov <dmitry@zend.com>2012-11-30 13:39:23 +0400
committerDmitry Stogov <dmitry@zend.com>2012-11-30 13:39:23 +0400
commit70f83f35d089d0cafae12ae231a38541f5c8e41c (patch)
tree1dee0f4716d742a57558d59a9285392805b25a9b /Zend/zend_vm_opcodes.h
parent9f7e53fde8b0feac271230cbc6731e9de90f2a03 (diff)
downloadphp-git-70f83f35d089d0cafae12ae231a38541f5c8e41c.tar.gz
. The VM stacks for passing function arguments and syntaticaly nested calls were merged into a single stack. The stack size needed for op_array execution is calculated at compile time and preallocated at once. As result all the stack push operatins don't require checks for stack overflow any more.
. Generators implementation was improved using the new VM stack. Now it's a bit more clear and faster.
Diffstat (limited to 'Zend/zend_vm_opcodes.h')
-rw-r--r--Zend/zend_vm_opcodes.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/Zend/zend_vm_opcodes.h b/Zend/zend_vm_opcodes.h
index 52f6cde59e..fcf7960b8e 100644
--- a/Zend/zend_vm_opcodes.h
+++ b/Zend/zend_vm_opcodes.h
@@ -159,6 +159,7 @@
#define ZEND_SEPARATE 156
#define ZEND_QM_ASSIGN_VAR 157
#define ZEND_JMP_SET_VAR 158
+#define ZEND_GENERATOR_FLAG 159
#define ZEND_YIELD 160
#define ZEND_GENERATOR_RETURN 161
#define ZEND_FAST_CALL 162