summaryrefslogtreecommitdiff
path: root/Zend/zend_vm_gen.php
diff options
context:
space:
mode:
authorDmitry Stogov <dmitry@zend.com>2018-05-08 01:31:49 +0300
committerDmitry Stogov <dmitry@zend.com>2018-05-08 01:31:49 +0300
commitb8a91ac50b1d30fc1f178eb70a55b7c6b205eb32 (patch)
treee7ba3db75218bd209caa9b3d0fe4ebdc3c747580 /Zend/zend_vm_gen.php
parent1e00b767a41b2e736feb7dc6aeb33ce4c9030494 (diff)
downloadphp-git-b8a91ac50b1d30fc1f178eb70a55b7c6b205eb32.tar.gz
Use "fastcall" calling convention
Diffstat (limited to 'Zend/zend_vm_gen.php')
-rw-r--r--Zend/zend_vm_gen.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/Zend/zend_vm_gen.php b/Zend/zend_vm_gen.php
index cf54375732..07c09afec2 100644
--- a/Zend/zend_vm_gen.php
+++ b/Zend/zend_vm_gen.php
@@ -2572,7 +2572,7 @@ function gen_vm($def, $skel) {
gen_executor($f, $skl, ZEND_VM_SPEC, ZEND_VM_KIND, "execute", "zend_vm_init");
// Generate zend_vm_get_opcode_handler() function
- out($f, "static const void *zend_vm_get_opcode_handler_ex(uint32_t spec, const zend_op* op)\n");
+ out($f, "static const void* ZEND_FASTCALL zend_vm_get_opcode_handler_ex(uint32_t spec, const zend_op* op)\n");
out($f, "{\n");
if (!ZEND_VM_SPEC) {
out($f, "\treturn zend_opcode_handlers[spec];\n");