Home
last modified time | relevance | path

Searched refs:try_catch_array (Results 1 – 16 of 16) sorted by relevance

/PHP-8.3/Zend/Optimizer/
H A Dnop_removal.c85 op_array->try_catch_array[j].try_op -= shiftlist[op_array->try_catch_array[j].try_op]; in zend_optimizer_nop_removal()
86 op_array->try_catch_array[j].catch_op -= shiftlist[op_array->try_catch_array[j].catch_op]; in zend_optimizer_nop_removal()
87 if (op_array->try_catch_array[j].finally_op) { in zend_optimizer_nop_removal()
88 op_array->try_catch_array[j].finally_op -= shiftlist[op_array->try_catch_array[j].finally_op]; in zend_optimizer_nop_removal()
89 op_array->try_catch_array[j].finally_end -= shiftlist[op_array->try_catch_array[j].finally_end]; in zend_optimizer_nop_removal()
H A Dzend_cfg.c131 if (op_array->try_catch_array[j].catch_op) { in zend_mark_reachable_blocks()
143 if (op_array->try_catch_array[j].finally_op) { in zend_mark_reachable_blocks()
147 op_array->try_catch_array[j].try_op = op_array->try_catch_array[j].catch_op; in zend_mark_reachable_blocks()
161 if (op_array->try_catch_array[j].catch_op) { in zend_mark_reachable_blocks()
169 if (op_array->try_catch_array[j].finally_op) { in zend_mark_reachable_blocks()
186 if (op_array->try_catch_array[j].catch_op) { in zend_mark_reachable_blocks()
189 if (op_array->try_catch_array[j].finally_op) { in zend_mark_reachable_blocks()
450 BB_START(op_array->try_catch_array[j].try_op); in zend_build_cfg()
451 if (op_array->try_catch_array[j].catch_op) { in zend_build_cfg()
454 if (op_array->try_catch_array[j].finally_op) { in zend_build_cfg()
[all …]
H A Dzend_dump.c1070 cfg->map[op_array->try_catch_array[i].try_op]); in zend_dump_op_array()
1071 if (op_array->try_catch_array[i].catch_op) { in zend_dump_op_array()
1077 if (op_array->try_catch_array[i].finally_op) { in zend_dump_op_array()
1083 if (op_array->try_catch_array[i].finally_end) { in zend_dump_op_array()
1131 op_array->try_catch_array[i].try_op); in zend_dump_op_array()
1133 if (op_array->try_catch_array[i].catch_op) { in zend_dump_op_array()
1136 op_array->try_catch_array[i].catch_op); in zend_dump_op_array()
1140 if (op_array->try_catch_array[i].finally_op) { in zend_dump_op_array()
1143 op_array->try_catch_array[i].finally_op); in zend_dump_op_array()
1147 if (op_array->try_catch_array[i].finally_end) { in zend_dump_op_array()
[all …]
H A Dblock_pass.c1059 … op_array->try_catch_array[j].try_op = blocks[cfg->map[op_array->try_catch_array[i].try_op]].start; in assemble_code_blocks()
1060 if (op_array->try_catch_array[i].catch_op) { in assemble_code_blocks()
1061 …op_array->try_catch_array[j].catch_op = blocks[cfg->map[op_array->try_catch_array[i].catch_op]].st… in assemble_code_blocks()
1063 op_array->try_catch_array[j].catch_op = 0; in assemble_code_blocks()
1065 if (op_array->try_catch_array[i].finally_op) { in assemble_code_blocks()
1066 …op_array->try_catch_array[j].finally_op = blocks[cfg->map[op_array->try_catch_array[i].finally_op]… in assemble_code_blocks()
1068 op_array->try_catch_array[j].finally_op = 0; in assemble_code_blocks()
1071 op_array->try_catch_array[j].finally_end = 0; in assemble_code_blocks()
1073 …op_array->try_catch_array[j].finally_end = blocks[cfg->map[op_array->try_catch_array[i].finally_en… in assemble_code_blocks()
1081 efree(op_array->try_catch_array); in assemble_code_blocks()
[all …]
H A Ddfa_pass.c230 op_array->try_catch_array[j].try_op -= shiftlist[op_array->try_catch_array[j].try_op]; in zend_ssa_remove_nops()
231 op_array->try_catch_array[j].catch_op -= shiftlist[op_array->try_catch_array[j].catch_op]; in zend_ssa_remove_nops()
232 if (op_array->try_catch_array[j].finally_op) { in zend_ssa_remove_nops()
233 op_array->try_catch_array[j].finally_op -= shiftlist[op_array->try_catch_array[j].finally_op]; in zend_ssa_remove_nops()
234 op_array->try_catch_array[j].finally_end -= shiftlist[op_array->try_catch_array[j].finally_end]; in zend_ssa_remove_nops()
/PHP-8.3/ext/opcache/tests/
H A Dbug76275.phpt2 Bug #76275: Assertion failure in file cache when unserializing empty try_catch_array
/PHP-8.3/Zend/
H A Dzend_opcode.c78 op_array->try_catch_array = NULL; in init_op_array()
590 if (op_array->try_catch_array) { in destroy_op_array()
591 efree(op_array->try_catch_array); in destroy_op_array()
670 if ((op_num < op_array->try_catch_array[i].finally_op || in zend_check_finally_breakout()
671 op_num >= op_array->try_catch_array[i].finally_end) in zend_check_finally_breakout()
672 && (dst_num >= op_array->try_catch_array[i].finally_op && in zend_check_finally_breakout()
673 dst_num <= op_array->try_catch_array[i].finally_end)) { in zend_check_finally_breakout()
678 } else if ((op_num >= op_array->try_catch_array[i].finally_op in zend_check_finally_breakout()
679 && op_num <= op_array->try_catch_array[i].finally_end) in zend_check_finally_breakout()
680 && (dst_num > op_array->try_catch_array[i].finally_end in zend_check_finally_breakout()
[all …]
H A Dzend_generators.c301 zend_try_catch_element *try_catch = &ex->func->op_array.try_catch_array[i]; in zend_generator_dtor_storage()
312 zend_try_catch_element *try_catch = &ex->func->op_array.try_catch_array[try_catch_offset]; in zend_generator_dtor_storage()
H A Dzend_compile.h473 zend_try_catch_element *try_catch_array; member
H A Dzend_compile.c1161 op_array->try_catch_array = safe_erealloc( in zend_add_try_element()
1162 op_array->try_catch_array, sizeof(zend_try_catch_element), op_array->last_try_catch, 0); in zend_add_try_element()
1164 elem = &op_array->try_catch_array[try_catch_offset]; in zend_add_try_element()
5359 zend_try_catch_element *elem = &op_array->try_catch_array[current]; in zend_resolve_goto_label()
6164 CG(active_op_array)->try_catch_array[try_catch_offset].catch_op = opnum_catch; in zend_compile_try()
6239 CG(active_op_array)->try_catch_array[try_catch_offset].finally_op = opnum_jmp + 1; in zend_compile_try()
6240 CG(active_op_array)->try_catch_array[try_catch_offset].finally_end in zend_compile_try()
H A Dzend_vm_def.h7964 &EX(func)->op_array.try_catch_array[try_catch_offset]; in ZEND_VM_HELPER()
8069 zend_try_catch_element *try_catch = &EX(func)->op_array.try_catch_array[i];
H A Dzend_vm_execute.h3140 &EX(func)->op_array.try_catch_array[try_catch_offset]; in zend_dispatch_try_catch_finally_helper_SPEC()
3245 zend_try_catch_element *try_catch = &EX(func)->op_array.try_catch_array[i]; in ZEND_HANDLE_EXCEPTION_SPEC_HANDLER()
/PHP-8.3/ext/opcache/
H A Dzend_persist.c466 if (op_array->try_catch_array) { in zend_persist_op_array_ex()
467 op_array->try_catch_array = zend_shared_alloc_get_xlat_entry(op_array->try_catch_array); in zend_persist_op_array_ex()
468 ZEND_ASSERT(op_array->try_catch_array != NULL); in zend_persist_op_array_ex()
653 if (op_array->try_catch_array) { in zend_persist_op_array_ex()
654 …op_array->try_catch_array = zend_shared_memdup_put_free(op_array->try_catch_array, sizeof(zend_try… in zend_persist_op_array_ex()
H A Dzend_file_cache.c486 SERIALIZE_PTR(op_array->try_catch_array);
636 SERIALIZE_PTR(op_array->try_catch_array);
1346 UNSERIALIZE_PTR(op_array->try_catch_array);
1479 UNSERIALIZE_PTR(op_array->try_catch_array);
H A Dzend_persist_calc.c294 if (op_array->try_catch_array) { in zend_persist_op_array_calc_ex()
/PHP-8.3/sapi/phpdbg/
H A Dphpdbg_utils.c625 for (i = 0; i < op_array->last_try_catch && op_array->try_catch_array[i].try_op <= op_num; i++) { in phpdbg_check_caught_ex()
626 …uint32_t catch = op_array->try_catch_array[i].catch_op, finally = op_array->try_catch_array[i].fin… in phpdbg_check_caught_ex()

Completed in 243 milliseconds