Fix a typo in function execute_ex (#7315)

This commit is contained in:
Hao Sun 2021-07-29 19:49:31 +08:00 committed by GitHub
parent 6d8d6364df
commit 60ea2cbf74
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View file

@ -50754,7 +50754,7 @@ ZEND_API void execute_ex(zend_execute_data *ex)
{ {
DCL_OPLINE DCL_OPLINE
#if defined(ZEND_VM_IP_GLOBAL_REG) || defined(ZEND_VM_IP_GLOBAL_REG) #if defined(ZEND_VM_IP_GLOBAL_REG) || defined(ZEND_VM_FP_GLOBAL_REG)
struct { struct {
#ifdef ZEND_VM_IP_GLOBAL_REG #ifdef ZEND_VM_IP_GLOBAL_REG
const zend_op *orig_opline; const zend_op *orig_opline;

View file

@ -2067,7 +2067,7 @@ function gen_executor($f, $skl, $spec, $kind, $executor_name, $initializer_name)
out($f,$m[1]."zend_execute_data *execute_data = ex;\n"); out($f,$m[1]."zend_execute_data *execute_data = ex;\n");
out($f,"#endif\n"); out($f,"#endif\n");
} else { } else {
out($f,"#if defined(ZEND_VM_IP_GLOBAL_REG) || defined(ZEND_VM_IP_GLOBAL_REG)\n"); out($f,"#if defined(ZEND_VM_IP_GLOBAL_REG) || defined(ZEND_VM_FP_GLOBAL_REG)\n");
out($f,$m[1]."struct {\n"); out($f,$m[1]."struct {\n");
out($f,"#ifdef ZEND_VM_IP_GLOBAL_REG\n"); out($f,"#ifdef ZEND_VM_IP_GLOBAL_REG\n");
out($f,$m[1]."\tconst zend_op *orig_opline;\n"); out($f,$m[1]."\tconst zend_op *orig_opline;\n");