Skip to content

Commit 9c9a833

Browse files
committed
Actually remove the YIELD key specialization
I only adjusted the code before, without switching to TMPVAR.
1 parent 165a065 commit 9c9a833

File tree

4 files changed

+237
-878
lines changed

4 files changed

+237
-878
lines changed

Zend/zend_vm_def.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7490,7 +7490,7 @@ ZEND_VM_COLD_HELPER(zend_yield_in_closed_generator_helper, ANY, ANY)
74907490
HANDLE_EXCEPTION();
74917491
}
74927492

7493-
ZEND_VM_HANDLER(160, ZEND_YIELD, CONST|TMP|VAR|CV|UNUSED, CONST|TMP|VAR|CV|UNUSED, SRC)
7493+
ZEND_VM_HANDLER(160, ZEND_YIELD, CONST|TMP|VAR|CV|UNUSED, CONST|TMPVAR|CV|UNUSED, SRC)
74947494
{
74957495
USE_OPLINE
74967496

0 commit comments

Comments
 (0)