diff options
author | Zeev Suraski <zeev@php.net> | 1999-07-10 11:45:23 +0000 |
---|---|---|
committer | Zeev Suraski <zeev@php.net> | 1999-07-10 11:45:23 +0000 |
commit | cccd2445ee690c1e954af0189e40a20f34ddb0f9 (patch) | |
tree | e50ab49463af5b7a204530e583df22cac0c0fae2 /Zend/zend_variables.c | |
parent | 82563bde6021a7571bf184fdc91c5f591b611c37 (diff) | |
download | php-git-cccd2445ee690c1e954af0189e40a20f34ddb0f9.tar.gz |
Get rid of AiCount completely
Diffstat (limited to 'Zend/zend_variables.c')
-rw-r--r-- | Zend/zend_variables.c | 27 |
1 files changed, 3 insertions, 24 deletions
diff --git a/Zend/zend_variables.c b/Zend/zend_variables.c index 49c9c53df3..b0f399ccd0 100644 --- a/Zend/zend_variables.c +++ b/Zend/zend_variables.c @@ -61,35 +61,14 @@ ZEND_API int zval_dtor(zval *zvalue) ELS_FETCH(); if (zvalue->value.ht && (zvalue->value.ht != &EG(symbol_table))) { -#ifdef USE_AI_COUNT - if (EG(AiCount)==0) { - zend_hash_destroy(zvalue->value.ht); - efree(zvalue->value.ht); - } else { - zend_ptr_stack_push(&EG(garbage), zvalue->value.ht); - } -#else zend_hash_destroy(zvalue->value.ht); efree(zvalue->value.ht); -#endif } } break; - case IS_OBJECT: { -#ifdef USE_AI_COUNT - ELS_FETCH(); - - if (EG(AiCount)==0) { - zend_hash_destroy(zvalue->value.obj.properties); - efree(zvalue->value.obj.properties); - } else { - zend_ptr_stack_push(&EG(garbage), zvalue->value.obj.properties); - } -#else - zend_hash_destroy(zvalue->value.obj.properties); - efree(zvalue->value.obj.properties); -#endif - } + case IS_OBJECT: + zend_hash_destroy(zvalue->value.obj.properties); + efree(zvalue->value.obj.properties); break; case IS_RESOURCE: /* destroy resource */ |