Reorder fields for better alignment on both 32-bit and 64-bit systems

This commit is contained in:
Dmitry Stogov 2014-10-07 18:12:09 +04:00
parent 67be34ec95
commit 75b5dc6369
2 changed files with 6 additions and 6 deletions

View File

@ -360,11 +360,11 @@ struct _zend_execute_data {
zend_execute_data *call; /* current call */
void **run_time_cache;
zend_function *func; /* executed op_array */
uint32_t num_args;
uint32_t frame_info;
zend_class_entry *called_scope;
zval This;
zend_class_entry *called_scope;
zend_execute_data *prev_execute_data;
uint32_t frame_info;
uint32_t num_args;
zval *return_value;
zend_class_entry *scope; /* function scope (self) */
zend_array *symbol_table;

View File

@ -215,11 +215,11 @@ static zend_always_inline zend_execute_data *zend_vm_stack_push_call_frame(uint3
}
call = (zend_execute_data*)zend_vm_stack_alloc(used_stack * sizeof(zval) TSRMLS_CC);
call->func = func;
call->num_args = 0;
call->frame_info = frame_info;
call->called_scope = called_scope;
ZVAL_OBJ(&call->This, object);
call->called_scope = called_scope;
call->prev_execute_data = prev;
call->frame_info = frame_info;
call->num_args = 0;
return call;
}