cvs: ZendEngine2 / zend_reflection_api.c
| From: | Marcus Boerger | Date: | Sat, 30 Aug 2003 13:47:27 +0000 |
| Subject: | cvs: ZendEngine2 / zend_reflection_api.c | ||
| Groups: | php.zend-engine.cvs | ||
| Request: | Send a blank email to php-zend-engine-cvs+get-1744@lists.php.net to get a copy of this message | ||
helly Sat Aug 30 09:47:27 2003 EDT
Modified files:
/ZendEngine2 zend_reflection_api.c
Log:
fci.function_table & fci.function_name are not needed since we use zend_fcall_info_cache
Index: ZendEngine2/zend_reflection_api.c
diff -u ZendEngine2/zend_reflection_api.c:1.38 ZendEngine2/zend_reflection_api.c:1.39
--- ZendEngine2/zend_reflection_api.c:1.38 Sat Aug 30 09:38:23 2003
+++ ZendEngine2/zend_reflection_api.c Sat Aug 30 09:47:27 2003
@@ -18,7 +18,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: zend_reflection_api.c,v 1.38 2003/08/30 13:38:23 helly Exp $ */
+/* $Id: zend_reflection_api.c,v 1.39 2003/08/30 13:47:27 helly Exp $ */
#include "zend.h"
#include "zend_API.h"
#include "zend_default_classes.h"
@@ -729,7 +729,6 @@
{
zval *retval_ptr;
zval ***params;
- zval fname;
int result;
int argc = ZEND_NUM_ARGS();
zend_fcall_info fci;
@@ -746,11 +745,9 @@
RETURN_FALSE;
}
- ZVAL_STRING(&fname, fptr->common.function_name, 0);
-
fci.size = sizeof(fci);
- fci.function_table = EG(function_table);
- fci.function_name = &fname;
+ fci.function_table = NULL;
+ fci.function_name = NULL;
fci.symbol_table = NULL;
fci.object_pp = NULL;
fci.retval_ptr_ptr = &retval_ptr;
@@ -959,7 +956,6 @@
zval **object_pp;
reflection_object *intern;
zend_function *mptr;
- zval fname;
int argc = ZEND_NUM_ARGS();
int result;
zend_fcall_info fci;
@@ -1016,11 +1012,9 @@
object_pp = params[0];
}
- ZVAL_STRING(&fname, mptr->common.function_name, 0);
-
fci.size = sizeof(fci);
- fci.function_table = EG(function_table);
- fci.function_name = &fname;
+ fci.function_table = NULL;
+ fci.function_name = NULL;
fci.symbol_table = NULL;
fci.object_pp = object_pp;
fci.retval_ptr_ptr = &retval_ptr;