From: Dmitry Stogov Date: Tue, 19 Mar 2019 22:31:35 +0000 (+0300) Subject: Fixed typo X-Git-Tag: php-7.4.0alpha1~704 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=14359eb7eb5aa32f023a30579b8fa2fbaa8f0f2e;p=php Fixed typo --- diff --git a/Zend/zend_vm_def.h b/Zend/zend_vm_def.h index 2fe4cc76d4..60c77ce8ae 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 eebf5e9ba4..f160de75d1 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();