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.c | |
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.c')
-rw-r--r-- | Zend/zend.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Zend/zend.c b/Zend/zend.c index 9ab879a2a4..fc6aed08cc 100644 --- a/Zend/zend.c +++ b/Zend/zend.c @@ -683,11 +683,11 @@ int zend_startup(zend_utility_functions *utility_functions, char **extensions TS #if HAVE_DTRACE /* build with dtrace support */ zend_compile_file = dtrace_compile_file; - zend_execute = dtrace_execute; + zend_execute_ex = dtrace_execute_ex; zend_execute_internal = dtrace_execute_internal; #else zend_compile_file = compile_file; - zend_execute = execute; + zend_execute_ex = execute_ex; zend_execute_internal = NULL; #endif /* HAVE_SYS_SDT_H */ zend_compile_string = compile_string; |