Skip to content

Commit 9139679

Browse files
committed
Comment
1 parent 39d3844 commit 9139679

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

Zend/zend_vm_gen.php

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2113,7 +2113,11 @@ function gen_executor($f, $skl, $spec, $kind, $executor_name, $initializer_name)
21132113

21142114
if ($kind == ZEND_VM_KIND_HYBRID || $kind == ZEND_VM_KIND_CALL) {
21152115

2116-
/* Generate tailcalling handlers */
2116+
/* Generate both CALL and TAILCALL handlers.
2117+
* TAILCALL handlers are used as zend_vm_opcode_handler_t
2118+
* when supported.
2119+
* CALL handlers are used as zend_vm_opcode_handler_func_t.
2120+
*/
21172121
out($f,"#if ZEND_VM_KIND == ZEND_VM_KIND_TAILCALL\n");
21182122
out($f,"\n");
21192123
out($f,"# undef ZEND_VM_TAIL_CALL\n");

0 commit comments

Comments
 (0)