]> granicus.if.org Git - php/commitdiff
- Merge from ZE1
authorAndi Gutmans <andi@php.net>
Tue, 11 Dec 2001 18:51:02 +0000 (18:51 +0000)
committerAndi Gutmans <andi@php.net>
Tue, 11 Dec 2001 18:51:02 +0000 (18:51 +0000)
Zend/zend.c

index d075cce732e59115484252b55e0d59ce4448fb14..1bd88793954a751b331b37f47b0b97154f46d47a 100644 (file)
@@ -292,10 +292,6 @@ static void compiler_globals_ctor(zend_compiler_globals *compiler_globals TSRMLS
 
        CG(interactive) = 0;
 
-       compiler_globals->class_table = (HashTable *) malloc(sizeof(HashTable));
-       zend_hash_init_ex(compiler_globals->class_table, 10, NULL, ZEND_CLASS_DTOR, 1, 0);
-       zend_hash_copy(compiler_globals->class_table, global_class_table, (copy_ctor_func_t) zend_class_add_ref, &tmp_class, sizeof(zend_class_entry));
-
        compiler_globals->auto_globals = (HashTable *) malloc(sizeof(HashTable));
        zend_hash_init_ex(compiler_globals->auto_globals, 8, NULL, NULL, 1, 0);
        zend_hash_copy(compiler_globals->auto_globals, global_auto_globals_table, NULL, NULL, sizeof(void *) /* empty element */);