]> granicus.if.org Git - php/commit
. The VM stacks for passing function arguments and syntaticaly nested calls were...
authorDmitry Stogov <dmitry@zend.com>
Fri, 30 Nov 2012 09:39:23 +0000 (13:39 +0400)
committerDmitry Stogov <dmitry@zend.com>
Fri, 30 Nov 2012 09:39:23 +0000 (13:39 +0400)
commit70f83f35d089d0cafae12ae231a38541f5c8e41c
tree1dee0f4716d742a57558d59a9285392805b25a9b
parent9f7e53fde8b0feac271230cbc6731e9de90f2a03
. 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.
20 files changed:
NEWS
UPGRADING
Zend/zend.c
Zend/zend_compile.c
Zend/zend_compile.h
Zend/zend_execute.c
Zend/zend_execute.h
Zend/zend_execute_API.c
Zend/zend_extensions.h
Zend/zend_generators.c
Zend/zend_generators.h
Zend/zend_globals.h
Zend/zend_modules.h
Zend/zend_opcode.c
Zend/zend_ptr_stack.c
Zend/zend_ptr_stack.h
Zend/zend_vm_def.h
Zend/zend_vm_execute.h
Zend/zend_vm_execute.skl
Zend/zend_vm_opcodes.h