Home
last modified time | relevance | path

Searched refs:op_num (Results 1 – 8 of 8) sorted by relevance

/PHP-7.2/ext/opcache/Optimizer/
H A Ddfa_pass.c430 uint32_t op_num = send_needly - op_array->opcodes; in zend_dfa_optimize_calls() local
431 zend_ssa_op *ssa_op = ssa->ops + op_num; in zend_dfa_optimize_calls()
443 ssa_op = ssa->ops + op_num; in zend_dfa_optimize_calls()
446 var->use_chain = op_num; in zend_dfa_optimize_calls()
488 uint32_t op_num; in zend_dfa_optimize_jmps() local
500 op_num = block->start + block->len - 1; in zend_dfa_optimize_jmps()
501 opline = op_array->opcodes + op_num; in zend_dfa_optimize_jmps()
506 op = ssa->ops + op_num; in zend_dfa_optimize_jmps()
511 zend_ssa_unlink_use_chain(ssa, op_num, op->op1_use); in zend_dfa_optimize_jmps()
539 op_num = block->start + block->len - 1; in zend_dfa_optimize_jmps()
[all …]
/PHP-7.2/Zend/
H A Dzend_generators.c113 zend_cleanup_unfinished_execution(execute_data, op_num, catch_op_num); in zend_generator_cleanup_unfinished_execution()
173 uint32_t op_num, finally_op_num, finally_op_end; in zend_generator_dtor_storage() local
200 op_num = ex->opline - ex->func->op_array.opcodes - 1; in zend_generator_dtor_storage()
208 if (op_num < try_catch->try_op) { in zend_generator_dtor_storage()
212 if (op_num < try_catch->finally_op) { in zend_generator_dtor_storage()
284 uint32_t i, op_num = execute_data->opline - op_array->opcodes - 1; in calc_gc_buffer_size() local
287 if (range->start > op_num) { in calc_gc_buffer_size()
290 } else if (op_num < range->end) { in calc_gc_buffer_size()
367 uint32_t i, op_num = execute_data->opline - op_array->opcodes - 1; in zend_generator_get_gc() local
370 if (range->start > op_num) { in zend_generator_get_gc()
[all …]
H A Dzend_opcode.c520 static void zend_check_finally_breakout(zend_op_array *op_array, uint32_t op_num, uint32_t dst_num) in zend_check_finally_breakout() argument
525 if ((op_num < op_array->try_catch_array[i].finally_op || in zend_check_finally_breakout()
526 op_num >= op_array->try_catch_array[i].finally_end) in zend_check_finally_breakout()
531 CG(zend_lineno) = op_array->opcodes[op_num].lineno; in zend_check_finally_breakout()
533 } else if ((op_num >= op_array->try_catch_array[i].finally_op in zend_check_finally_breakout()
534 && op_num <= op_array->try_catch_array[i].finally_end) in zend_check_finally_breakout()
539 CG(zend_lineno) = op_array->opcodes[op_num].lineno; in zend_check_finally_breakout()
H A Dzend_execute.c2349 static void cleanup_unfinished_calls(zend_execute_data *execute_data, uint32_t op_num) /* {{{ */ in cleanup_unfinished_calls() argument
2353 zend_op *opline = EX(func)->op_array.opcodes + op_num; in cleanup_unfinished_calls()
2365 ZEND_ASSERT(op_num); in cleanup_unfinished_calls()
2478 static void cleanup_live_vars(zend_execute_data *execute_data, uint32_t op_num, uint32_t catch_op_n… in cleanup_live_vars() argument
2484 if (range->start > op_num) { in cleanup_live_vars()
2487 } else if (op_num < range->end) { in cleanup_live_vars()
2502 zend_op *last = EX(func)->op_array.opcodes + op_num; in cleanup_live_vars()
2528 void zend_cleanup_unfinished_execution(zend_execute_data *execute_data, uint32_t op_num, uint32_t c… in zend_cleanup_unfinished_execution() argument
2529 cleanup_unfinished_calls(execute_data, op_num); in zend_cleanup_unfinished_execution()
2530 cleanup_live_vars(execute_data, op_num, catch_op_num); in zend_cleanup_unfinished_execution()
H A Dzend_execute.h325 void zend_cleanup_unfinished_execution(zend_execute_data *execute_data, uint32_t op_num, uint32_t c…
H A Dzend_vm_def.h6994 …ELPER(zend_dispatch_try_catch_finally_helper, ANY, ANY, uint32_t try_catch_offset, uint32_t op_num) argument
7004 if (op_num < try_catch->catch_op && ex) {
7006 cleanup_live_vars(execute_data, op_num, try_catch->catch_op);
7010 } else if (op_num < try_catch->finally_op) {
7013 cleanup_live_vars(execute_data, op_num, try_catch->finally_op);
7020 } else if (op_num < try_catch->finally_end) {
7046 cleanup_live_vars(execute_data, op_num, 0);
7107 …spatch_try_catch_finally_helper, try_catch_offset, current_try_catch_offset, op_num, throw_op_num);
7524 …atch_try_catch_finally_helper, try_catch_offset, current_try_catch_offset, op_num, current_op_num);
H A Dzend_vm_execute.h1683 …spatch_try_catch_finally_helper_SPEC(uint32_t try_catch_offset, uint32_t op_num ZEND_OPCODE_HANDLE…
1693 if (op_num < try_catch->catch_op && ex) {
1695 cleanup_live_vars(execute_data, op_num, try_catch->catch_op);
1699 } else if (op_num < try_catch->finally_op) {
1702 cleanup_live_vars(execute_data, op_num, try_catch->finally_op);
1709 } else if (op_num < try_catch->finally_end) {
1735 cleanup_live_vars(execute_data, op_num, 0);
/PHP-7.2/sapi/phpdbg/
H A Dphpdbg_utils.c744 uint32_t op_num, i; in phpdbg_check_caught_ex() local
753 op_num = op - op_array->opcodes; in phpdbg_check_caught_ex()
755 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()
757 if (op_num <= catch || op_num <= finally) { in phpdbg_check_caught_ex()

Completed in 199 milliseconds