com php-src: spelling: Zend/zend_execute.c
| From: | Dmitry Stogov | Date: | Tue, 25 Dec 2012 12:23:52 +0000 |
| Subject: | com php-src: spelling: Zend/zend_execute.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-70817@lists.php.net to get a copy of this message | ||
Commit: 8e6bf9e5e55b05842c06ae459078293d1a97d431
Author: Dmitry Stogov <dmitry@zend.com> Tue, 25 Dec 2012 16:23:52 +0400
Parents: 7625a3b3b457b262148aa798e34789dbaaed6a91
Branches: PHP-5.5 master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=8e6bf9e5e55b05842c06ae459078293d1a97d431
Log:
spelling
Changed paths:
M Zend/zend_execute.c
Diff:
diff --git a/Zend/zend_execute.c b/Zend/zend_execute.c
index c0b1d02..9e34048 100644
--- a/Zend/zend_execute.c
+++ b/Zend/zend_execute.c
@@ -1598,8 +1598,8 @@ static zend_always_inline zend_execute_data
*i_create_execute_data_from_op_array
* a copy of previous execute_data and passed parameters.
*/
if (UNEXPECTED((op_array->fn_flags & ZEND_ACC_GENERATOR) != 0)) {
- /* Prepend the regular stack frame with copy on prev_execute_data
- * and passed arguments
+ /* Prepend the regular stack frame with a copy of prev_execute_data
+ * and the passed arguments
*/
int args_count = zend_vm_stack_get_args_count_ex(EG(current_execute_data));
size_t args_size = ZEND_MM_ALIGNED_SIZE(sizeof(zval*)) * (args_count + 1);
@@ -1616,7 +1616,7 @@ static zend_always_inline zend_execute_data
*i_create_execute_data_from_op_array
EX(prev_execute_data)->function_state.function = (zend_function*)op_array;
EX(prev_execute_data)->function_state.arguments =
(void**)((char*)ZEND_VM_STACK_ELEMETS(EG(argument_stack)) + ZEND_MM_ALIGNED_SIZE(sizeof(zval*)) *
args_count);
- /* copy arguemnts */
+ /* copy arguments */
*EX(prev_execute_data)->function_state.arguments = (void*)(zend_uintptr_t)args_count;
if (args_count > 0) {
zval **arg_src = (zval**)zend_vm_stack_get_arg_ex(EG(current_execute_data), 1);