diff options
author | Nikita Popov <nikic@php.net> | 2012-05-19 23:11:18 +0200 |
---|---|---|
committer | Nikita Popov <nikic@php.net> | 2012-05-19 23:19:21 +0200 |
commit | 1cec3f12cc719ccde286a3a55f6da1a5bf9ea2e4 (patch) | |
tree | 91528939e3c443644d5d86481d62efe93691d8cc /Zend/zend_vm_opcodes.h | |
parent | e14cfafcbfbe58e0fc3f7b814698a908b0dffca5 (diff) | |
download | php-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.h | 1 |
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 |