From: Zeev Suraski Date: Thu, 27 May 1999 03:11:08 +0000 (+0000) Subject: Fix the AiCount issue with objects X-Git-Tag: BEFORE_REMOVING_GC_STEP1~264 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=3b5972ed4a50924ebfe2296f09b04259be1071b0;p=php Fix the AiCount issue with objects --- 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) {