cvs: Zend / zend.c zend_builtin_functions.c zend_execute.c zend_execute_API.c zend_globals.h
| From: | Thies C. Arntzen | Date: | Tue, 03 Sep 2002 14:42:04 +0000 |
| Subject: | cvs: Zend / zend.c zend_builtin_functions.c zend_execute.c zend_execute_API.c zend_globals.h | ||
| Groups: | php.zend-engine.cvs | ||
| Request: | Send a blank email to php-zend-engine-cvs+get-396@lists.php.net to get a copy of this message | ||
thies Tue Sep 3 10:42:04 2002 EDT
Modified files:
/Zend zend.c zend_builtin_functions.c zend_execute.c
zend_execute_API.c zend_globals.h
Log:
rename execute_data_ptr -> current_execute_data to match ZE2 naming
Index: Zend/zend.c
diff -u Zend/zend.c:1.152 Zend/zend.c:1.153
--- Zend/zend.c:1.152 Tue Sep 3 06:24:34 2002
+++ Zend/zend.c Tue Sep 3 10:42:03 2002
@@ -530,7 +530,7 @@
}
CG(unclean_shutdown) = 1;
CG(in_compilation) = EG(in_execution) = 0;
- EG(execute_data_ptr) = NULL;
+ EG(current_execute_data) = NULL;
longjmp(EG(bailout), FAILURE);
}
END_EXTERN_C()
Index: Zend/zend_builtin_functions.c
diff -u Zend/zend_builtin_functions.c:1.119 Zend/zend_builtin_functions.c:1.120
--- Zend/zend_builtin_functions.c:1.119 Tue Sep 3 10:22:56 2002
+++ Zend/zend_builtin_functions.c Tue Sep 3 10:42:03 2002
@@ -1190,7 +1190,7 @@
}
}
- ptr = EG(execute_data_ptr);
+ ptr = EG(current_execute_data);
/* skip debug_backtrace() */
ptr = ptr->prev_execute_data;
Index: Zend/zend_execute.c
diff -u Zend/zend_execute.c:1.307 Zend/zend_execute.c:1.308
--- Zend/zend_execute.c:1.307 Tue Sep 3 10:22:56 2002
+++ Zend/zend_execute.c Tue Sep 3 10:42:04 2002
@@ -1009,10 +1009,10 @@
EX(object).ptr = NULL;
EX(op_array) = op_array;
EX(Ts) = (temp_variable *) do_alloca(sizeof(temp_variable)*op_array->T);
- EX(prev_execute_data) = EG(execute_data_ptr);
+ EX(prev_execute_data) = EG(current_execute_data);
EX(original_in_execution)=EG(in_execution);
- EG(execute_data_ptr) = &execute_data;
+ EG(current_execute_data) = &execute_data;
EG(in_execution) = 1;
if (op_array->start_op) {
@@ -1603,7 +1603,7 @@
} else {
zend_execute_internal(&execute_data, return_value_used TSRMLS_CC);
}
- EG(execute_data_ptr) = &execute_data;
+ EG(current_execute_data) = &execute_data;
if (EX(object).ptr) {
EX(object).ptr->refcount--;
}
@@ -1722,7 +1722,7 @@
}
free_alloca(EX(Ts));
EG(in_execution) = EX(original_in_execution);
- EG(execute_data_ptr) = EX(prev_execute_data);
+ EG(current_execute_data) = EX(prev_execute_data);
return;
}
break;
Index: Zend/zend_execute_API.c
diff -u Zend/zend_execute_API.c:1.145 Zend/zend_execute_API.c:1.146
--- Zend/zend_execute_API.c:1.145 Tue Sep 3 10:22:56 2002
+++ Zend/zend_execute_API.c Tue Sep 3 10:42:04 2002
@@ -506,8 +506,8 @@
EG(function_state_ptr) = &EX(function_state);
- EX(prev_execute_data) = EG(execute_data_ptr);
- EG(execute_data_ptr) = &execute_data;
+ EX(prev_execute_data) = EG(current_execute_data);
+ EG(current_execute_data) = &execute_data;
if (EX(function_state).function->type == ZEND_USER_FUNCTION) {
calling_symbol_table = EG(active_symbol_table);
@@ -554,7 +554,7 @@
}
zend_ptr_stack_clear_multiple(TSRMLS_C);
EG(function_state_ptr) = original_function_state_ptr;
- EG(execute_data_ptr) = EX(prev_execute_data);
+ EG(current_execute_data) = EX(prev_execute_data);
return SUCCESS;
}
Index: Zend/zend_globals.h
diff -u Zend/zend_globals.h:1.89 Zend/zend_globals.h:1.90
--- Zend/zend_globals.h:1.89 Wed Aug 14 20:22:37 2002
+++ Zend/zend_globals.h Tue Sep 3 10:42:04 2002
@@ -152,7 +152,7 @@
zend_op **opline_ptr;
- zend_execute_data *execute_data_ptr;
+ zend_execute_data *current_execute_data;
HashTable *active_symbol_table;
HashTable symbol_table; /* main symbol table */