diff options
| author | Andi Gutmans <andi@php.net> | 2003-07-02 16:52:07 +0000 |
|---|---|---|
| committer | Andi Gutmans <andi@php.net> | 2003-07-02 16:52:07 +0000 |
| commit | 02c7aacf8330ad14934fe204c4aec398fabd4a0e (patch) | |
| tree | bc379c6f0d0ea0931ba3b3ebc30441be368d5ea7 /Zend/zend_compile.c | |
| parent | 1379c46d9eaf13717cd3641d4f43997483a23bd8 (diff) | |
| download | php-git-02c7aacf8330ad14934fe204c4aec398fabd4a0e.tar.gz | |
- Nuke CG(in_clone_method)
Diffstat (limited to 'Zend/zend_compile.c')
| -rw-r--r-- | Zend/zend_compile.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/Zend/zend_compile.c b/Zend/zend_compile.c index 8e7c760230..9c2b12588d 100644 --- a/Zend/zend_compile.c +++ b/Zend/zend_compile.c @@ -89,7 +89,6 @@ void zend_init_compiler_data_structures(TSRMLS_D) CG(start_lineno) = 0; init_compiler_declarables(TSRMLS_C); CG(throw_list) = NULL; - CG(in_clone_method) = 0; zend_hash_apply(CG(auto_globals), (apply_func_t) zend_auto_global_arm TSRMLS_CC); } @@ -1048,7 +1047,6 @@ void zend_do_begin_function_declaration(znode *function_token, znode *function_n CG(active_class_entry)->destructor = (zend_function *) CG(active_op_array); } else if ((function_name->u.constant.value.str.len == sizeof(ZEND_CLONE_FUNC_NAME)-1) && (!memcmp(function_name->u.constant.value.str.val, ZEND_CLONE_FUNC_NAME, sizeof(ZEND_CLONE_FUNC_NAME)))) { CG(active_class_entry)->clone = (zend_function *) CG(active_op_array); - CG(in_clone_method) = 1; } else if ((function_name->u.constant.value.str.len == sizeof(ZEND_CALL_FUNC_NAME)-1) && (!memcmp(function_name->u.constant.value.str.val, ZEND_CALL_FUNC_NAME, sizeof(ZEND_CALL_FUNC_NAME)))) { CG(active_class_entry)->__call = (zend_function *) CG(active_op_array); } else if ((function_name->u.constant.value.str.len == sizeof(ZEND_GET_FUNC_NAME)-1) && (!memcmp(function_name->u.constant.value.str.val, ZEND_GET_FUNC_NAME, sizeof(ZEND_GET_FUNC_NAME)))) { @@ -1116,8 +1114,6 @@ void zend_do_end_function_declaration(znode *function_token TSRMLS_DC) zend_stack_del_top(&CG(foreach_copy_stack)); CG(throw_list) = function_token->throw_list; - - CG(in_clone_method) = 0; } |
