Searched refs:used_stack (Results 1 – 11 of 11) sorted by relevance
/PHP-8.2/Zend/ |
H A D | zend_execute.h | 263 static zend_always_inline zend_execute_data *zend_vm_stack_push_call_frame_ex(uint32_t used_stack, … in zend_vm_stack_push_call_frame_ex() argument 269 if (UNEXPECTED(used_stack > (size_t)(((char*)EG(vm_stack_end)) - (char*)call))) { in zend_vm_stack_push_call_frame_ex() 270 call = (zend_execute_data*)zend_vm_stack_extend(used_stack); in zend_vm_stack_push_call_frame_ex() 275 EG(vm_stack_top) = (zval*)((char*)call + used_stack); in zend_vm_stack_push_call_frame_ex() 283 uint32_t used_stack = ZEND_CALL_FRAME_SLOT + num_args + func->common.T; in zend_vm_calc_used_stack() local 286 used_stack += func->op_array.last_var - MIN(func->op_array.num_args, num_args); in zend_vm_calc_used_stack() 288 return used_stack * sizeof(zval); in zend_vm_calc_used_stack() 293 uint32_t used_stack = zend_vm_calc_used_stack(num_args, func); in zend_vm_stack_push_call_frame() local 295 return zend_vm_stack_push_call_frame_ex(used_stack, call_info, in zend_vm_stack_push_call_frame()
|
H A D | zend_generators.c | 61 size_t used_stack; in zend_generator_freeze_call_stack() local 66 used_stack = 0; in zend_generator_freeze_call_stack() 69 used_stack += ZEND_CALL_FRAME_SLOT + ZEND_CALL_NUM_ARGS(call); in zend_generator_freeze_call_stack() 73 stack = emalloc(used_stack * sizeof(zval)); in zend_generator_freeze_call_stack() 80 new_call = (zend_execute_data*)(stack + used_stack - frame_size); in zend_generator_freeze_call_stack() 82 used_stack -= frame_size; in zend_generator_freeze_call_stack()
|
H A D | zend_execute.c | 4162 int used_stack = (EG(vm_stack_top) - (zval*)call) + additional_args; in zend_vm_stack_copy_call_frame() local 4165 new_call = zend_vm_stack_extend(used_stack * sizeof(zval)); in zend_vm_stack_copy_call_frame() 5278 static zend_always_inline zend_execute_data *_zend_vm_stack_push_call_frame_ex(uint32_t used_stack,… in _zend_vm_stack_push_call_frame_ex() argument 5284 if (UNEXPECTED(used_stack > (size_t)(((char*)EG(vm_stack_end)) - (char*)call))) { in _zend_vm_stack_push_call_frame_ex() 5286 call = (zend_execute_data*)zend_vm_stack_extend(used_stack); in _zend_vm_stack_push_call_frame_ex() 5291 EG(vm_stack_top) = (zval*)((char*)call + used_stack); in _zend_vm_stack_push_call_frame_ex() 5299 uint32_t used_stack = zend_vm_calc_used_stack(num_args, func); in _zend_vm_stack_push_call_frame() local 5301 return _zend_vm_stack_push_call_frame_ex(used_stack, call_info, in _zend_vm_stack_push_call_frame()
|
H A D | zend_vm_def.h | 4487 uint32_t num_args, used_stack, call_info; variable 4502 …used_stack = (ZEND_CALL_FRAME_SLOT + EX(func)->op_array.last_var + EX(func)->op_array.T) * sizeof(… 4503 gen_execute_data = (zend_execute_data*)emalloc(used_stack); 4504 used_stack = (ZEND_CALL_FRAME_SLOT + EX(func)->op_array.last_var) * sizeof(zval); 4506 …used_stack = (ZEND_CALL_FRAME_SLOT + num_args + EX(func)->op_array.last_var + EX(func)->op_array.T… 4507 gen_execute_data = (zend_execute_data*)emalloc(used_stack); 4509 memcpy(gen_execute_data, execute_data, used_stack);
|
H A D | zend_vm_execute.h | 2152 uint32_t num_args, used_stack, call_info; in ZEND_GENERATOR_CREATE_SPEC_HANDLER() local 2167 …used_stack = (ZEND_CALL_FRAME_SLOT + EX(func)->op_array.last_var + EX(func)->op_array.T) * sizeof(… in ZEND_GENERATOR_CREATE_SPEC_HANDLER() 2168 gen_execute_data = (zend_execute_data*)emalloc(used_stack); in ZEND_GENERATOR_CREATE_SPEC_HANDLER() 2169 used_stack = (ZEND_CALL_FRAME_SLOT + EX(func)->op_array.last_var) * sizeof(zval); in ZEND_GENERATOR_CREATE_SPEC_HANDLER() 2171 …used_stack = (ZEND_CALL_FRAME_SLOT + num_args + EX(func)->op_array.last_var + EX(func)->op_array.T… in ZEND_GENERATOR_CREATE_SPEC_HANDLER() 2172 gen_execute_data = (zend_execute_data*)emalloc(used_stack); in ZEND_GENERATOR_CREATE_SPEC_HANDLER() 2174 memcpy(gen_execute_data, execute_data, used_stack); in ZEND_GENERATOR_CREATE_SPEC_HANDLER()
|
/PHP-8.2/ext/opcache/jit/ |
H A D | zend_jit_trace.c | 1241 int used_stack; member 1704 frame->used_stack = 0; in zend_jit_trace_build_tssa() 2393 call->used_stack = 0; in zend_jit_trace_build_tssa() 2510 if (used_stack > 0) { in zend_jit_trace_build_tssa() 2511 used_stack -= frame->used_stack; in zend_jit_trace_build_tssa() 2520 frame->used_stack = 0; in zend_jit_trace_build_tssa() 2527 call->used_stack = 0; in zend_jit_trace_build_tssa() 2535 if (used_stack >= 0 in zend_jit_trace_build_tssa() 2552 used_stack += frame->used_stack; in zend_jit_trace_build_tssa() 4070 int used_stack = ((zend_tssa*)ssa)->used_stack; in zend_jit_trace() local [all …]
|
H A D | zend_jit_internal.h | 540 int used_stack; member
|
H A D | zend_jit_helpers.c | 213 static zend_execute_data* ZEND_FASTCALL zend_jit_extend_stack_helper(uint32_t used_stack, zend_func… in zend_jit_extend_stack_helper() argument 215 zend_execute_data *call = (zend_execute_data*)zend_vm_stack_extend(used_stack); in zend_jit_extend_stack_helper() 221 static zend_execute_data* ZEND_FASTCALL zend_jit_int_extend_stack_helper(uint32_t used_stack) in zend_jit_int_extend_stack_helper() argument 223 zend_execute_data *call = (zend_execute_data*)zend_vm_stack_extend(used_stack); in zend_jit_int_extend_stack_helper()
|
H A D | zend_jit_ir.c | 8113 static int zend_jit_stack_check(zend_jit_ctx *jit, const zend_op *opline, uint32_t used_stack) in zend_jit_stack_check() argument 8126 ir_CONST_ADDR(used_stack)), in zend_jit_stack_check() 8149 uint32_t used_stack; local 8156 used_stack = zend_vm_calc_used_stack(opline->extended_value, func); 8157 if ((int)used_stack <= checked_stack) { 8160 used_stack_ref = ir_CONST_ADDR(used_stack); 8165 …used_stack = (ZEND_CALL_FRAME_SLOT + opline->extended_value + ZEND_OBSERVER_ENABLED) * sizeof(zval… 8166 used_stack_ref = ir_CONST_ADDR(used_stack);
|
/PHP-8.2/ext/opcache/jit/ir/ |
H A D | ir_aarch64.dasc | 4410 int32_t used_stack = 0; 4438 return used_stack; 4474 used_stack = 0; 4478 used_stack = IR_ALIGNED_SIZE(used_stack, 16); 4480 used_stack = 0; 4483 if (used_stack) { 4489 | sub sp, sp, #used_stack 4635 return used_stack; 4664 if (used_stack) { 4665 | add sp, sp, #used_stack [all …]
|
H A D | ir_x86.dasc | 7501 int32_t used_stack = 0; 7536 used_stack += IR_SHADOW_ARGS; 7538 return used_stack; 7588 used_stack = 0; 7593 && used_stack == IR_SHADOW_ARGS) { 7594 used_stack = 0; 7602 used_stack = 0; 7810 return used_stack; 7863 if (used_stack) { 7868 aligned_stack -= used_stack; [all …]
|
Completed in 399 milliseconds