diff options
Diffstat (limited to 'Zend/zend_execute.h')
| -rw-r--r-- | Zend/zend_execute.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/Zend/zend_execute.h b/Zend/zend_execute.h index 96f06d6968..a7b9858fcb 100644 --- a/Zend/zend_execute.h +++ b/Zend/zend_execute.h @@ -246,9 +246,8 @@ static zend_always_inline void *zend_vm_stack_alloc(size_t size TSRMLS_DC) static zend_always_inline zval* zend_vm_stack_frame_base(zend_execute_data *ex) { -//??? return (void**)((char*)ex->call_slots + -//??? ZEND_MM_ALIGNED_SIZE(sizeof(call_slot)) * ex->op_array->nested_calls); - return NULL; + return (zval*)((char*)ex->call_slots + + ZEND_MM_ALIGNED_SIZE(sizeof(call_slot)) * ex->op_array->nested_calls); } static zend_always_inline void zend_vm_stack_free(void *ptr TSRMLS_DC) |
