com php-src: Added missing ZEND_VM_HOT define: Zend/z end_vm_gen.php

[email protected] (Dmitry Stogov)
Newsgroups php.cvs
Message-ID <[email protected]>
Commit:    b5e857b905c63b1aed4c11e445152b326c9afe03
Author:    Dmitry Stogov <[email protected]>         Thu, 4 May 2017 17:57:49 +0300
Parents:   27e01cd918dd3309571aa3628e6139d436b10e18
Branches:  master

Link:       http://git.php.net/?p=php-src.git;a=commitdiff;h=b5e857b905c63b1aed4c11e445152b326c9afe03

Log:
Added missing ZEND_VM_HOT define

Changed paths:
  M  Zend/zend_vm_gen.php


Diff:
diff --git a/Zend/zend_vm_gen.php b/Zend/zend_vm_gen.php
index 738e825..4aaac77 100644
--- a/Zend/zend_vm_gen.php
+++ b/Zend/zend_vm_gen.php
@@ -1647,6 +1647,9 @@ function gen_executor($f, $skl, $spec, $kind, $executor_name, $initializer_name)
 							out($f,"# define ZEND_VM_TAIL_CALL(call) return call\n");
 							out($f,"# define ZEND_VM_CONTINUE()      return  0\n");
 							out($f,"# define ZEND_VM_RETURN()        return -1\n");
+							if ($kind == ZEND_VM_KIND_HYBRID) {
+								out($f,"# define ZEND_VM_HOT\n");
+							}
 							out($f,"#endif\n");
 							out($f,"\n");
 							out($f,"typedef ZEND_OPCODE_HANDLER_RET (ZEND_FASTCALL *opcode_handler_t) (ZEND_OPCODE_HANDLER_ARGS);\n");
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.