diff options
author | Andi Gutmans <andi@php.net> | 2002-07-14 18:17:07 +0000 |
---|---|---|
committer | Andi Gutmans <andi@php.net> | 2002-07-14 18:17:07 +0000 |
commit | 35e8d8139e910dac7f40494087d280c79b3f9900 (patch) | |
tree | e47ace458fa887fafb4d1a99d59b30f20ced3b88 | |
parent | b6aeeaea2042aac1fa4d4c37ccd4422cfd82c7f7 (diff) | |
download | php-git-35e8d8139e910dac7f40494087d280c79b3f9900.tar.gz |
- Nuke some unused code
-rw-r--r-- | Zend/zend_execute.c | 29 |
1 files changed, 0 insertions, 29 deletions
diff --git a/Zend/zend_execute.c b/Zend/zend_execute.c index f2f70e375f..9559905d9f 100644 --- a/Zend/zend_execute.c +++ b/Zend/zend_execute.c @@ -123,35 +123,6 @@ static inline zval *_get_zval_ptr(znode *node, temp_variable *Ts, int *should_fr return NULL; } -static inline zval *_get_object_zval_ptr(znode *node, temp_variable *Ts, int *should_free TSRMLS_DC) -{ - switch(node->op_type) { - case IS_TMP_VAR: - *should_free = 1; - return &Ts[node->u.var].tmp_var; - break; - case IS_VAR: - if (Ts[node->u.var].var.ptr_ptr) { - PZVAL_UNLOCK(*Ts[node->u.var].var.ptr_ptr); - *should_free = 0; - return *Ts[node->u.var].var.ptr_ptr; - } else { - if (Ts[node->u.var].EA.type==IS_STRING_OFFSET) { - PZVAL_UNLOCK(Ts[node->u.var].EA.data.str_offset.str); - } - *should_free = 1; - return NULL; - } - break; - case IS_UNUSED: - return NULL; - break; - EMPTY_SWITCH_DEFAULT_CASE() - } - return NULL; -} - - static inline zval **_get_zval_ptr_ptr(znode *node, temp_variable *Ts TSRMLS_DC) { if (node->op_type==IS_VAR) { |