Skip to content

Commit 7e287d5

Browse files
committed
fix copy/paste mistake
1 parent aa36e75 commit 7e287d5

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

Zend/zend_vm_gen.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2497,7 +2497,8 @@ function gen_vm_opcodes_header(
24972497
$str .= "# define ZEND_VM_KIND\t\tZEND_VM_KIND_HYBRID\n";
24982498
}
24992499
if ($GLOBALS["vm_kind_name"][ZEND_VM_GEN_KIND] === "ZEND_VM_KIND_HYBRID" || $GLOBALS["vm_kind_name"][ZEND_VM_GEN_KIND] === "ZEND_VM_KIND_CALL") {
2500-
$str .= "#elif defined(HAVE_MUSTTAIL) && defined(HAVE_PRESERVE_NONE) && (defined(__x86_64__) || defined(_M_X64) || defined(__aarch64__) || defined(_M_ARM64))\n"; $str .= "# define ZEND_VM_KIND\t\tZEND_VM_KIND_TAILCALL\n";
2500+
$str .= "#elif defined(HAVE_MUSTTAIL) && defined(HAVE_PRESERVE_NONE) && (defined(__x86_64__) || defined(_M_X64) || defined(__aarch64__) || defined(_M_ARM64))\n";
2501+
$str .= "# define ZEND_VM_KIND\t\tZEND_VM_KIND_TAILCALL\n";
25012502
$str .= "#else\n";
25022503
$str .= "# define ZEND_VM_KIND\t\tZEND_VM_KIND_CALL\n";
25032504
} else {

0 commit comments

Comments
 (0)