Lines Matching refs:active_op_array
73 zend_op_array *op_array = CG(active_op_array); in zend_alloc_cache_slots()
110 return CG(active_op_array)->last; in get_next_op_number()
115 zend_op_array *op_array = CG(active_op_array); in get_next_op()
140 zend_string *filename = CG(active_op_array)->filename; in zend_build_runtime_definition_key()
404 CG(active_op_array) = NULL; in init_compiler()
483 return (uint32_t)CG(active_op_array)->T++; in get_temporary_variable()
488 zend_op_array *op_array = CG(active_op_array); in lookup_cv()
538 zend_op_array *op_array = CG(active_op_array); in zend_add_literal()
706 zend_op *opline = &CG(active_op_array)->opcodes[CG(active_op_array)->last-1]; in zend_do_free()
750 zend_op *opline = &CG(active_op_array)->opcodes[CG(active_op_array)->last-1]; in zend_do_free()
763 while (opline >= CG(active_op_array)->opcodes) { in zend_do_free()
1027 zend_op_array *op_array = CG(active_op_array); in zend_add_try_element()
1329 if (!CG(active_op_array)->function_name) { in zend_mark_function_as_generator()
1334 if (CG(active_op_array)->fn_flags & ZEND_ACC_HAS_RETURN_TYPE) { in zend_mark_function_as_generator()
1335 zend_type return_type = CG(active_op_array)->arg_info[-1].type; in zend_mark_function_as_generator()
1356 CG(active_op_array)->fn_flags |= ZEND_ACC_GENERATOR; in zend_mark_function_as_generator()
1503 if (!CG(active_op_array)) { in zend_is_scope_known()
1508 if (CG(active_op_array)->fn_flags & ZEND_ACC_CLOSURE) { in zend_is_scope_known()
1516 return CG(active_op_array)->function_name != NULL; in zend_is_scope_known()
2129 …if (CG(active_op_array)->last && CG(active_op_array)->opcodes[CG(active_op_array)->last - 1].opcod… in zend_emit_tick()
2189 opline = CG(active_op_array)->opcodes + opnum - 1; in zend_emit_cond_jump()
2209 zend_op *opline = &CG(active_op_array)->opcodes[opnum_jump]; in zend_update_jump_target()
2273 opline = CG(active_op_array)->opcodes + oplines[i].extended_value; in zend_delayed_compile_end()
2356 zend_op *opline = &CG(active_op_array)->opcodes[opnum]; in zend_short_circuiting_commit()
2513 bool returns_reference = (CG(active_op_array)->fn_flags & ZEND_ACC_RETURN_REFERENCE) != 0; in zend_emit_final_return()
2515 if ((CG(active_op_array)->fn_flags & ZEND_ACC_HAS_RETURN_TYPE) in zend_emit_final_return()
2516 && !(CG(active_op_array)->fn_flags & ZEND_ACC_GENERATOR)) { in zend_emit_final_return()
2517 zend_arg_info *return_info = CG(active_op_array)->arg_info - 1; in zend_emit_final_return()
2783 zend_op_array *op_array = CG(active_op_array); in this_guaranteed_exists()
2799 CG(active_op_array)->fn_flags |= ZEND_ACC_USES_THIS; in zend_compile_simple_var()
2932 CG(active_op_array)->fn_flags |= ZEND_ACC_USES_THIS; in zend_delayed_compile_prop()
2968 oplines[i].extended_value = opline - CG(active_op_array)->opcodes; in zend_delayed_compile_prop()
3638 CG(active_op_array)->fn_flags |= ZEND_ACC_USES_THIS; in zend_compile_args()
3746 opline = &CG(active_op_array)->opcodes[opnum_init]; in zend_compile_call_common()
3766 opline = &CG(active_op_array)->opcodes[opnum_init]; in zend_compile_call_common()
4040 || zend_compile_ignore_function(fbc, CG(active_op_array)->filename)) { in zend_try_compile_ct_bound_init_user_func()
4191 opline = &CG(active_op_array)->opcodes[check_op_number]; in zend_compile_assert()
4351 if (CG(active_op_array)->function_name && args->children == 0) { in zend_compile_func_num_args()
4362 if (CG(active_op_array)->function_name && args->children == 0) { in zend_compile_func_get_args()
4389 if (CG(active_op_array)->function_name in zend_compile_func_array_slice()
4566 || zend_compile_ignore_function(fbc, CG(active_op_array)->filename)) { in zend_compile_call()
4610 CG(active_op_array)->fn_flags |= ZEND_ACC_USES_THIS; in zend_compile_method_call()
4734 if (zend_compile_ignore_class(ce, CG(active_op_array)->filename)) { in zend_compile_static_call()
4840 if (!CG(active_op_array)->static_variables) { in zend_compile_static_var_common()
4841 if (CG(active_op_array)->scope) { in zend_compile_static_var_common()
4842 CG(active_op_array)->scope->ce_flags |= ZEND_HAS_STATIC_IN_METHODS; in zend_compile_static_var_common()
4844 CG(active_op_array)->static_variables = zend_new_array(8); in zend_compile_static_var_common()
4847 value = zend_hash_update(CG(active_op_array)->static_variables, var_name, value); in zend_compile_static_var_common()
4856 …opline->extended_value = (uint32_t)((char*)value - (char*)CG(active_op_array)->static_variables->a… in zend_compile_static_var_common()
5018 bool is_generator = (CG(active_op_array)->fn_flags & ZEND_ACC_GENERATOR) != 0; in zend_compile_return()
5019 bool by_ref = (CG(active_op_array)->fn_flags & ZEND_ACC_RETURN_REFERENCE) != 0; in zend_compile_return()
5039 if ((CG(active_op_array)->fn_flags & ZEND_ACC_HAS_FINALLY_BLOCK) in zend_compile_return()
5051 if (!is_generator && (CG(active_op_array)->fn_flags & ZEND_ACC_HAS_RETURN_TYPE)) { in zend_compile_return()
5053 expr_ast ? &expr_node : NULL, CG(active_op_array)->arg_info - 1, 0); in zend_compile_return()
5190 CG(active_op_array) = op_array; in zend_resolve_goto_label()
5202 CG(active_op_array) = op_array; in zend_resolve_goto_label()
5444 opline = &CG(active_op_array)->opcodes[opnum_fetch]; in zend_compile_foreach()
5457 opline = &CG(active_op_array)->opcodes[opnum_reset]; in zend_compile_foreach()
5460 opline = &CG(active_op_array)->opcodes[opnum_fetch]; in zend_compile_foreach()
5613 opnum_switch = opline - CG(active_op_array)->opcodes; in zend_compile_switch()
5681 opline = &CG(active_op_array)->opcodes[opnum_switch]; in zend_compile_switch()
5693 opline = &CG(active_op_array)->opcodes[opnum_switch]; in zend_compile_switch()
5800 opnum_match = opline - CG(active_op_array)->opcodes; in zend_compile_match()
5849 zend_op *opline = &CG(active_op_array)->opcodes[opnum_match]; in zend_compile_match()
5899 zend_op *opline = &CG(active_op_array)->opcodes[opnum_match]; in zend_compile_match()
5973 if (!(CG(active_op_array)->fn_flags & ZEND_ACC_HAS_FINALLY_BLOCK)) { in zend_compile_try()
5974 CG(active_op_array)->fn_flags |= ZEND_ACC_HAS_FINALLY_BLOCK; in zend_compile_try()
6017 CG(active_op_array)->try_catch_array[try_catch_offset].catch_op = opnum_catch; in zend_compile_try()
6040 opline = &CG(active_op_array)->opcodes[opnum_catch]; in zend_compile_try()
6058 opline = &CG(active_op_array)->opcodes[opnum_catch]; in zend_compile_try()
6092 CG(active_op_array)->try_catch_array[try_catch_offset].finally_op = opnum_jmp + 1; in zend_compile_try()
6093 CG(active_op_array)->try_catch_array[try_catch_offset].finally_end in zend_compile_try()
6237 CG(active_op_array)->fn_flags |= ZEND_ACC_STRICT_TYPES; in zend_compile_declare()
6717 uint32_t flags = (CG(active_op_array)->fn_flags & ZEND_ACC_STRICT_TYPES) in zend_compile_attributes()
6795 zend_op_array *op_array = CG(active_op_array); in zend_compile_params()
6972 zend_op_array *op_array = CG(active_op_array); in zend_compile_params()
7218 zend_op_array *op_array = CG(active_op_array); in zend_compile_closure_uses()
7349 zend_op_array *op_array = CG(active_op_array); in zend_add_dynamic_func_def()
7415 zend_op_array *orig_op_array = CG(active_op_array); in zend_compile_func_decl()
7452 CG(active_op_array) = op_array; in zend_compile_func_decl()
7487 if (CG(active_op_array)->fn_flags & ZEND_ACC_GENERATOR) { in zend_compile_func_decl()
7501 zend_arg_info *return_info = CG(active_op_array)->arg_info - 1; in zend_compile_func_decl()
7530 pass_two(CG(active_op_array)); in zend_compile_func_decl()
7542 CG(active_op_array) = orig_op_array; in zend_compile_func_decl()
7856 zend_string *filename = CG(active_op_array)->filename; in zend_generate_anon_class_name()
8080 CG(active_op_array)->fn_flags |= ZEND_ACC_EARLY_BINDING; in zend_compile_class_decl()
8421 zend_op_array *op_array = CG(active_op_array); in zend_try_ct_eval_magic_const()
9168 opline = &CG(active_op_array)->opcodes[opnum]; in zend_compile_coalesce()
9221 opline = &CG(active_op_array)->opcodes[CG(active_op_array)->last-1]; in zend_compile_assign_coalesce()
9329 bool returns_by_ref = (CG(active_op_array)->fn_flags & ZEND_ACC_RETURN_REFERENCE) != 0; in zend_compile_yield()
9363 if (CG(active_op_array)->fn_flags & ZEND_ACC_RETURN_REFERENCE) { in zend_compile_yield_from()
9470 CG(active_op_array)->fn_flags |= ZEND_ACC_USES_THIS; in zend_compile_isset_or_empty()
9611 opline = &CG(active_op_array)->opcodes[opnum_init]; in zend_compile_array()
9819 opline = &CG(active_op_array)->opcodes[reserved_op_number]; in zend_compile_encaps_list()
9835 CG(active_op_array)->last = reserved_op_number - 1; in zend_compile_encaps_list()
9838 opline = &CG(active_op_array)->opcodes[reserved_op_number]; in zend_compile_encaps_list()
9841 init_opline = CG(active_op_array)->opcodes + rope_init_lineno; in zend_compile_encaps_list()