diff options
| author | Andi Gutmans <andi@php.net> | 1999-04-13 17:03:10 +0000 |
|---|---|---|
| committer | Andi Gutmans <andi@php.net> | 1999-04-13 17:03:10 +0000 |
| commit | 3fcc6511f6555ca6af5f26ee6313097c42aee9ba (patch) | |
| tree | c8da32143a45e05d40bb22b42f0ade09164aa52a /Zend/zend_execute_API.c | |
| parent | 533f135987738074fab0ac17560274d89f33584c (diff) | |
| download | php-git-3fcc6511f6555ca6af5f26ee6313097c42aee9ba.tar.gz | |
* Optimize argument_stack top lookup
* Fix a nasty bug in zend_ptr_stack_clean()
Diffstat (limited to 'Zend/zend_execute_API.c')
| -rw-r--r-- | Zend/zend_execute_API.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Zend/zend_execute_API.c b/Zend/zend_execute_API.c index 728e531a59..e10be7d706 100644 --- a/Zend/zend_execute_API.c +++ b/Zend/zend_execute_API.c @@ -466,7 +466,7 @@ ZEND_API inline void zend_ptr_stack_clear_multiple(ELS_D) ZEND_API int zend_ptr_stack_get_arg(int requested_arg, void **data) { - void **p = EG(argument_stack).elements+EG(argument_stack).top-1; + void **p = EG(argument_stack).top_element-1; int arg_count = (ulong) *p; if (requested_arg>arg_count) { |
