com php-src: Fixed typo: Zend/zend_vm_def.h Zend/zend _vm_execute.h
| From: | Dmitry Stogov | Date: | Tue, 19 Mar 2019 22:31:35 +0000 |
| Subject: | com php-src: Fixed typo: Zend/zend_vm_def.h Zend/zend _vm_execute.h | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-105263@lists.php.net to get a copy of this message | ||
Commit: 14359eb7eb5aa32f023a30579b8fa2fbaa8f0f2e
Author: Dmitry Stogov <dmitry@zend.com> Wed, 20 Mar 2019 01:31:35 +0300
Parents: 864366ef203b5faebf2cb183395d5165cf051a4f
Branches: PHP-7.4 master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=14359eb7eb5aa32f023a30579b8fa2fbaa8f0f2e
Log:
Fixed typo
Changed paths:
M Zend/zend_vm_def.h
M Zend/zend_vm_execute.h
Diff:
diff --git a/Zend/zend_vm_def.h b/Zend/zend_vm_def.h
index 2fe4cc7..60c77ce 100644
--- a/Zend/zend_vm_def.h
+++ b/Zend/zend_vm_def.h
@@ -6551,7 +6551,7 @@ ZEND_VM_C_LABEL(num_index_prop):
if (OP1_TYPE & (IS_CONST|IS_CV)) {
/* avoid exception check */
- FREE_OP1();
+ FREE_OP2();
ZEND_VM_SMART_BRANCH(result, 0);
ZVAL_BOOL(EX_VAR(opline->result.var), result);
ZEND_VM_NEXT_OPCODE();
diff --git a/Zend/zend_vm_execute..h b/Zend/zend_vm_execute.h
index eebf5e9..f160de7 100644
--- a/Zend/zend_vm_execute.h
+++ b/Zend/zend_vm_execute.h
@@ -8015,7 +8015,7 @@ num_index_prop:
if (IS_CONST & (IS_CONST|IS_CV)) {
/* avoid exception check */
-
+ zval_ptr_dtor_nogc(free_op2);
ZEND_VM_SMART_BRANCH(result, 0);
ZVAL_BOOL(EX_VAR(opline->result.var), result);
ZEND_VM_NEXT_OPCODE();
@@ -14391,7 +14391,7 @@ num_index_prop:
if ((IS_TMP_VAR|IS_VAR) & (IS_CONST|IS_CV)) {
/* avoid exception check */
- zval_ptr_dtor_nogc(free_op1);
+
ZEND_VM_SMART_BRANCH(result, 0);
ZVAL_BOOL(EX_VAR(opline->result.var), result);
ZEND_VM_NEXT_OPCODE();
@@ -15898,7 +15898,7 @@ num_index_prop:
if ((IS_TMP_VAR|IS_VAR) & (IS_CONST|IS_CV)) {
/* avoid exception check */
- zval_ptr_dtor_nogc(free_op1);
+ zval_ptr_dtor_nogc(free_op2);
ZEND_VM_SMART_BRANCH(result, 0);
ZVAL_BOOL(EX_VAR(opline->result.var), result);
ZEND_VM_NEXT_OPCODE();
@@ -17519,7 +17519,7 @@ num_index_prop:
if ((IS_TMP_VAR|IS_VAR) & (IS_CONST|IS_CV)) {
/* avoid exception check */
- zval_ptr_dtor_nogc(free_op1);
+
ZEND_VM_SMART_BRANCH(result, 0);
ZVAL_BOOL(EX_VAR(opline->result.var), result);
ZEND_VM_NEXT_OPCODE();
@@ -47910,7 +47910,7 @@ num_index_prop:
if (IS_CV & (IS_CONST|IS_CV)) {
/* avoid exception check */
-
+ zval_ptr_dtor_nogc(free_op2);
ZEND_VM_SMART_BRANCH(result, 0);
ZVAL_BOOL(EX_VAR(opline->result.var), result);
ZEND_VM_NEXT_OPCODE();