summaryrefslogtreecommitdiff
path: root/Zend/zend_vm_opcodes.h
diff options
context:
space:
mode:
authorNikita Popov <nikic@php.net>2012-05-19 23:11:18 +0200
committerNikita Popov <nikic@php.net>2012-05-19 23:19:21 +0200
commit1cec3f12cc719ccde286a3a55f6da1a5bf9ea2e4 (patch)
tree91528939e3c443644d5d86481d62efe93691d8cc /Zend/zend_vm_opcodes.h
parente14cfafcbfbe58e0fc3f7b814698a908b0dffca5 (diff)
downloadphp-git-1cec3f12cc719ccde286a3a55f6da1a5bf9ea2e4.tar.gz
Add ZEND_SUSPEND_AND_RETURN_GENERATOR opcode
If the function is a generator this opcode will be invoked right after receiving the function arguments. The current implementation is just a dummy.
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 680778c2a2..9e24dee11d 100644
--- a/Zend/zend_vm_opcodes.h
+++ b/Zend/zend_vm_opcodes.h
@@ -159,3 +159,4 @@
#define ZEND_SEPARATE 156
#define ZEND_QM_ASSIGN_VAR 157
#define ZEND_JMP_SET_VAR 158
+#define ZEND_SUSPEND_AND_RETURN_GENERATOR 159