summaryrefslogtreecommitdiff
path: root/sapi/phpdbg/phpdbg_prompt.c
diff options
context:
space:
mode:
authorDmitry Stogov <dmitry@zend.com>2014-03-28 02:11:22 +0400
committerDmitry Stogov <dmitry@zend.com>2014-03-28 02:11:22 +0400
commitea85451b65b904d0670c4011c819a15431720432 (patch)
tree83bde21b41665b493d7337ff34d622f67cd5c78c /sapi/phpdbg/phpdbg_prompt.c
parent68385716a4bb233ba17acb587b0a7aa5d2e3d448 (diff)
downloadphp-git-ea85451b65b904d0670c4011c819a15431720432.tar.gz
Refactored data structures to keep zend_object* instead of a whole zval in some places
Diffstat (limited to 'sapi/phpdbg/phpdbg_prompt.c')
-rw-r--r--sapi/phpdbg/phpdbg_prompt.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sapi/phpdbg/phpdbg_prompt.c b/sapi/phpdbg/phpdbg_prompt.c
index 78aa4d87f3..d1dd468acb 100644
--- a/sapi/phpdbg/phpdbg_prompt.c
+++ b/sapi/phpdbg/phpdbg_prompt.c
@@ -84,7 +84,7 @@ static inline int phpdbg_call_register(phpdbg_input_t *input TSRMLS_DC) /* {{{ *
fci.function_table = &PHPDBG_G(registered);
ZVAL_STRINGL(&fci.function_name, function->string, function->length);
fci.symbol_table = EG(active_symbol_table);
- fci.object_ptr = NULL;
+ fci.object = NULL;
fci.retval = &fretval;
fci.no_separation = 1;
@@ -512,7 +512,7 @@ static inline void phpdbg_handle_exception(TSRMLS_D) /* }}} */
fci.function_table = &Z_OBJCE(exception)->function_table;
ZVAL_STRINGL(&fci.function_name, "__tostring", sizeof("__tostring") - 1);
fci.symbol_table = NULL;
- fci.object_ptr = &exception;
+ fci.object = EG(exception);
fci.retval = &trace;
fci.param_count = 0;
fci.params = NULL;