Lines Matching refs:call
183 static zend_always_inline void zend_vm_init_call_frame(zend_execute_data *call, uint32_t call_info,… in zend_vm_init_call_frame() argument
185 call->func = func; in zend_vm_init_call_frame()
186 Z_PTR(call->This) = object_or_called_scope; in zend_vm_init_call_frame()
187 ZEND_CALL_INFO(call) = call_info; in zend_vm_init_call_frame()
188 ZEND_CALL_NUM_ARGS(call) = num_args; in zend_vm_init_call_frame()
193 zend_execute_data *call = (zend_execute_data*)EG(vm_stack_top); in zend_vm_stack_push_call_frame_ex() local
197 if (UNEXPECTED(used_stack > (size_t)(((char*)EG(vm_stack_end)) - (char*)call))) { in zend_vm_stack_push_call_frame_ex()
198 call = (zend_execute_data*)zend_vm_stack_extend(used_stack); in zend_vm_stack_push_call_frame_ex()
200 …zend_vm_init_call_frame(call, call_info | ZEND_CALL_ALLOCATED, func, num_args, object_or_called_sc… in zend_vm_stack_push_call_frame_ex()
201 return call; in zend_vm_stack_push_call_frame_ex()
203 EG(vm_stack_top) = (zval*)((char*)call + used_stack); in zend_vm_stack_push_call_frame_ex()
204 zend_vm_init_call_frame(call, call_info, func, num_args, object_or_called_scope); in zend_vm_stack_push_call_frame_ex()
205 return call; in zend_vm_stack_push_call_frame_ex()
227 …nd_always_inline void zend_vm_stack_free_extra_args_ex(uint32_t call_info, zend_execute_data *call) in zend_vm_stack_free_extra_args_ex() argument
230 uint32_t count = ZEND_CALL_NUM_ARGS(call) - call->func->op_array.num_args; in zend_vm_stack_free_extra_args_ex()
231 zval *p = ZEND_CALL_VAR_NUM(call, call->func->op_array.last_var + call->func->op_array.T); in zend_vm_stack_free_extra_args_ex()
247 static zend_always_inline void zend_vm_stack_free_extra_args(zend_execute_data *call) in zend_vm_stack_free_extra_args() argument
249 zend_vm_stack_free_extra_args_ex(ZEND_CALL_INFO(call), call); in zend_vm_stack_free_extra_args()
252 static zend_always_inline void zend_vm_stack_free_args(zend_execute_data *call) in zend_vm_stack_free_args() argument
254 uint32_t num_args = ZEND_CALL_NUM_ARGS(call); in zend_vm_stack_free_args()
257 zval *p = ZEND_CALL_ARG(call, 1); in zend_vm_stack_free_args()
272 …nd_always_inline void zend_vm_stack_free_call_frame_ex(uint32_t call_info, zend_execute_data *call) in zend_vm_stack_free_call_frame_ex() argument
280 ZEND_ASSERT(call == (zend_execute_data*)ZEND_VM_STACK_ELEMENTS(EG(vm_stack))); in zend_vm_stack_free_call_frame_ex()
286 EG(vm_stack_top) = (zval*)call; in zend_vm_stack_free_call_frame_ex()
292 static zend_always_inline void zend_vm_stack_free_call_frame(zend_execute_data *call) in zend_vm_stack_free_call_frame() argument
294 zend_vm_stack_free_call_frame_ex(ZEND_CALL_INFO(call), call); in zend_vm_stack_free_call_frame()