summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZeev Suraski <zeev@php.net>1999-05-27 03:11:08 +0000
committerZeev Suraski <zeev@php.net>1999-05-27 03:11:08 +0000
commit3b5972ed4a50924ebfe2296f09b04259be1071b0 (patch)
tree145686fcf39cc4df9afeab9a08060a46200e63dc
parent1f985ede7417952b7fd0a2b20d25ad2952416955 (diff)
downloadphp-git-3b5972ed4a50924ebfe2296f09b04259be1071b0.tar.gz
Fix the AiCount issue with objects
-rw-r--r--Zend/zend_execute.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Zend/zend_execute.c b/Zend/zend_execute.c
index e67dc0dabe..b49c69f05a 100644
--- a/Zend/zend_execute.c
+++ b/Zend/zend_execute.c
@@ -1228,7 +1228,7 @@ binary_assign_op_addr: {
if ((opline>EG(active_op_array)->opcodes)
&& opline->op1.op_type==IS_VAR
- && opline->op1.u.EA.type & EXT_TYPE_UNUSED) {
+ && (opline-1)->opcode == ZEND_JMP_NO_CTOR) {
/* constructor call */
EG(AiCount)++; /* for op1 */
if (opline->op2.op_type==IS_VAR) {