diff options
author | Dmitry Stogov <dmitry@zend.com> | 2012-11-30 13:39:23 +0400 |
---|---|---|
committer | Dmitry Stogov <dmitry@zend.com> | 2012-11-30 13:39:23 +0400 |
commit | 70f83f35d089d0cafae12ae231a38541f5c8e41c (patch) | |
tree | 1dee0f4716d742a57558d59a9285392805b25a9b /Zend/zend_ptr_stack.h | |
parent | 9f7e53fde8b0feac271230cbc6731e9de90f2a03 (diff) | |
download | php-git-70f83f35d089d0cafae12ae231a38541f5c8e41c.tar.gz |
. The VM stacks for passing function arguments and syntaticaly nested calls were merged into a single stack. The stack size needed for op_array execution is calculated at compile time and preallocated at once. As result all the stack push operatins don't require checks for stack overflow any more.
. Generators implementation was improved using the new VM stack. Now it's a bit more clear and faster.
Diffstat (limited to 'Zend/zend_ptr_stack.h')
-rw-r--r-- | Zend/zend_ptr_stack.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/Zend/zend_ptr_stack.h b/Zend/zend_ptr_stack.h index fe93e93b5a..9f6fc13161 100644 --- a/Zend/zend_ptr_stack.h +++ b/Zend/zend_ptr_stack.h @@ -41,8 +41,6 @@ ZEND_API void zend_ptr_stack_destroy(zend_ptr_stack *stack); ZEND_API void zend_ptr_stack_apply(zend_ptr_stack *stack, void (*func)(void *)); ZEND_API void zend_ptr_stack_clean(zend_ptr_stack *stack, void (*func)(void *), zend_bool free_elements); ZEND_API int zend_ptr_stack_num_elements(zend_ptr_stack *stack); -ZEND_API void zend_ptr_stack_push_from_memory(zend_ptr_stack *stack, int count, void **pointers); -ZEND_API void zend_ptr_stack_pop_into_memory(zend_ptr_stack *stack, int count, void **pointers); END_EXTERN_C() #define ZEND_PTR_STACK_RESIZE_IF_NEEDED(stack, count) \ |