Lines Matching refs:op2

631 		SET_UNUSED(opline->op2);  in zend_do_free()
650 SET_UNUSED(opline->op2); in zend_do_free()
663 SET_UNUSED(opline->op2); in zend_do_free()
955 zval *op1, *op2; in do_bind_function() local
959 op2 = CT_CONSTANT_EX(op_array, opline->op2.constant); in do_bind_function()
962 op2 = RT_CONSTANT(op_array, opline->op2); in do_bind_function()
968 if (zend_hash_add_ptr(function_table, Z_STR_P(op2), new_function) == NULL) { in do_bind_function()
972 if ((old_function = zend_hash_find_ptr(function_table, Z_STR_P(op2))) != NULL in do_bind_function()
996 zval *op1, *op2; in do_bind_class() local
1000 op2 = CT_CONSTANT_EX(op_array, opline->op2.constant); in do_bind_class()
1003 op2 = RT_CONSTANT(op_array, opline->op2); in do_bind_class()
1008 if (zend_hash_add_ptr(class_table, Z_STR_P(op2), ce) == NULL) { in do_bind_class()
1031 zval *op1, *op2; in do_bind_inherited_class() local
1035 op2 = CT_CONSTANT_EX(op_array, opline->op2.constant); in do_bind_inherited_class()
1038 op2 = RT_CONSTANT(op_array, opline->op2); in do_bind_inherited_class()
1050 …%s %s, because the name is already in use", zend_get_object_type(Z_OBJCE_P(op2)), Z_STRVAL_P(op2)); in do_bind_inherited_class()
1055 if (zend_hash_exists(class_table, Z_STR_P(op2))) { in do_bind_inherited_class()
1064 if (zend_hash_add_ptr(class_table, Z_STR_P(op2), ce) == NULL) { in do_bind_inherited_class()
1099 parent_name = CT_CONSTANT(fetch_class_opline->op2); in zend_do_early_binding()
1120 zend_del_literal(CG(active_op_array), fetch_class_opline->op2.constant); in zend_do_early_binding()
1140 zend_del_literal(CG(active_op_array), opline->op2.constant); in zend_do_early_binding()
1180 zval *parent_name = RT_CONSTANT(op_array, op_array->opcodes[opline_num-1].op2); in zend_do_delayed_early_binding()
1478 SET_UNUSED(opline->op2); in zend_do_extended_info()
1494 SET_UNUSED(opline->op2); in zend_do_extended_fcall_begin()
1510 SET_UNUSED(opline->op2); in zend_do_extended_fcall_end()
1865 static zend_op *zend_emit_op(znode *result, zend_uchar opcode, znode *op1, znode *op2) /* {{{ */ in zend_emit_op() argument
1876 if (op2 == NULL) { in zend_emit_op()
1877 SET_UNUSED(opline->op2); in zend_emit_op()
1879 SET_NODE(opline->op2, op2); in zend_emit_op()
1889 static zend_op *zend_emit_op_tmp(znode *result, zend_uchar opcode, znode *op1, znode *op2) /* {{{ */ in zend_emit_op_tmp() argument
1900 if (op2 == NULL) { in zend_emit_op_tmp()
1901 SET_UNUSED(opline->op2); in zend_emit_op_tmp()
1903 SET_NODE(opline->op2, op2); in zend_emit_op_tmp()
1927 SET_UNUSED(opline->op2); in zend_emit_tick()
1983 opline->op2.opline_num = opnum_target; in zend_emit_cond_jump()
2000 opline->op2.opline_num = opnum_target; in zend_update_jump_target()
2013 …e zend_op *zend_delayed_emit_op(znode *result, zend_uchar opcode, znode *op1, znode *op2) /* {{{ */ in zend_delayed_emit_op() argument
2023 if (op2 == NULL) { in zend_delayed_emit_op()
2024 SET_UNUSED(tmp_opline.op2); in zend_delayed_emit_op()
2026 SET_NODE(tmp_opline.op2, op2); in zend_delayed_emit_op()
2067 opline->op2.num = CG(active_op_array)->cache_size; in zend_emit_return_type_check()
2070 opline->op2.num = -1; in zend_emit_return_type_check()
2191 opline->op2.constant = zend_add_class_name_literal(CG(active_op_array), in zend_compile_class_ref()
2382 convert_to_string(CT_CONSTANT(opline->op2)); in zend_delayed_compile_prop()
2383 zend_alloc_polymorphic_cache_slot(opline->op2.constant); in zend_delayed_compile_prop()
2433 opline->op2.constant = zend_add_class_name_literal( in zend_compile_static_prop_common()
2436 SET_NODE(opline->op2, &class_node); in zend_compile_static_prop_common()
2744 opline->op2.num = arg_count; in zend_compile_args()
2816 SET_UNUSED(opline->op2); in zend_compile_args()
2817 opline->op2.opline_num = arg_num; in zend_compile_args()
2909 opline->op2.constant = zend_add_ns_func_name_literal( in zend_compile_ns_call()
2911 zend_alloc_cache_slot(opline->op2.constant); in zend_compile_ns_call()
2930 opline->op2.constant = zend_add_func_name_literal(CG(active_op_array), method); in zend_compile_dynamic_call()
2931 zend_alloc_cache_slot(opline->op2.constant); in zend_compile_dynamic_call()
2937 opline->op2.constant = zend_add_func_name_literal(CG(active_op_array), str); in zend_compile_dynamic_call()
2938 zend_alloc_cache_slot(opline->op2.constant); in zend_compile_dynamic_call()
2943 SET_NODE(opline->op2, name_node); in zend_compile_dynamic_call()
3057 LITERAL_STR(opline->op2, lcname); in zend_try_compile_ct_bound_init_user_func()
3058 zend_alloc_cache_slot(opline->op2.constant); in zend_try_compile_ct_bound_init_user_func()
3122 opline->op2.num = i; in zend_compile_func_cuf()
3166 opline->op2.constant = zend_add_ns_func_name_literal( in zend_compile_assert()
3169 zend_alloc_cache_slot(opline->op2.constant); in zend_compile_assert()
3182 …CG(active_op_array)->opcodes[check_op_number].op2.opline_num = get_next_op_number(CG(active_op_arr… in zend_compile_assert()
3302 zend_alloc_cache_slot(opline->op2.constant); in zend_compile_call()
3333 opline->op2.constant = zend_add_func_name_literal(CG(active_op_array), in zend_compile_method_call()
3335 zend_alloc_polymorphic_cache_slot(opline->op2.constant); in zend_compile_method_call()
3337 SET_NODE(opline->op2, &method_node); in zend_compile_method_call()
3388 opline->op2.constant = zend_add_func_name_literal(CG(active_op_array), in zend_compile_static_call()
3391 zend_alloc_cache_slot(opline->op2.constant); in zend_compile_static_call()
3393 zend_alloc_polymorphic_cache_slot(opline->op2.constant); in zend_compile_static_call()
3396 SET_NODE(opline->op2, &method_node); in zend_compile_static_call()
3448 opline->op2.opline_num = get_next_op_number(CG(active_op_array)); in zend_compile_new()
3477 zend_alloc_cache_slot(opline->op2.constant); in zend_compile_global_var()
3593 SET_UNUSED(opline->op2); in zend_handle_loops_and_finally_ex()
3611 SET_UNUSED(opline->op2); in zend_handle_loops_and_finally_ex()
3612 opline->op2.num = loop_var->u.brk_cont_offset; in zend_handle_loops_and_finally_ex()
3733 opline->op2.num = depth; in zend_compile_break_continue()
3744 label = CT_CONSTANT_EX(op_array, opline->op2.constant); in zend_resolve_goto_label()
3786 SET_UNUSED(opline->op2); in zend_resolve_goto_label()
3981 SET_NODE(opline->op2, &value_node); in zend_compile_foreach()
3984 opline->op2.var = get_temporary_variable(CG(active_op_array)); in zend_compile_foreach()
3985 GET_NODE(&value_node, opline->op2); in zend_compile_foreach()
4006 opline->op2.opline_num = get_next_op_number(CG(active_op_array)); in zend_compile_foreach()
4238 opline->op2.var = lookup_cv(CG(active_op_array), zend_string_copy(Z_STR_P(var_name))); in zend_compile_try()
4644 zend_alloc_cache_slot(opline->op2.constant); in zend_compile_params()
4646 Z_CACHE_SLOT(op_array->literals[opline->op2.constant]) = -1; in zend_compile_params()
4650 opline->op2.num = op_array->cache_size; in zend_compile_params()
4653 opline->op2.num = -1; in zend_compile_params()
4658 Z_CACHE_SLOT(op_array->literals[opline->op2.constant]) = -1; in zend_compile_params()
4660 opline->op2.num = -1; in zend_compile_params()
4902 LITERAL_STR(opline->op2, zend_string_copy(lcname)); in zend_begin_func_decl()
5195 opline->op2.constant = zend_add_class_name_literal(CG(active_op_array), in zend_compile_use_trait()
5237 opline->op2.constant = zend_add_class_name_literal(CG(active_op_array), in zend_compile_implements()
5335 LITERAL_STR(opline->op2, lcname); in zend_compile_class_decl()
5868 …zend_bool zend_try_ct_eval_binary_op(zval *result, uint32_t opcode, zval *op1, zval *op2) /* {{{ */ in zend_try_ct_eval_binary_op() argument
5874 zval_get_long(op2) == 0) { in zend_try_ct_eval_binary_op()
5877 zval_get_long(op2) < 0) { in zend_try_ct_eval_binary_op()
5881 fn(result, op1, op2); in zend_try_ct_eval_binary_op()
5901 static inline void zend_ct_eval_greater(zval *result, zend_ast_kind kind, zval *op1, zval *op2) /* … in zend_ct_eval_greater() argument
5905 fn(result, op2, op1); in zend_ct_eval_greater()
6300 opline->op2.opline_num = get_next_op_number(CG(active_op_array)); in zend_compile_coalesce()
6414 opline->op2.constant = zend_add_class_name_literal( in zend_compile_instanceof()
6417 SET_NODE(opline->op2, &class_node); in zend_compile_instanceof()
6636 opline->op2.constant = zend_add_const_name_literal( in zend_compile_const()
6642 opline->op2.constant = zend_add_const_name_literal( in zend_compile_const()
6645 opline->op2.constant = zend_add_const_name_literal( in zend_compile_const()
6649 zend_alloc_cache_slot(opline->op2.constant); in zend_compile_const()
6708 zend_alloc_cache_slot(opline->op2.constant); in zend_compile_class_const()
6710 zend_alloc_polymorphic_cache_slot(opline->op2.constant); in zend_compile_class_const()
6760 SET_NODE(opline->op2, elem_node); in zend_compile_rope_add()
6822 GET_NODE(result, opline->op2); in zend_compile_encaps_list()
6828 opline->op1 = opline->op2; in zend_compile_encaps_list()
6831 SET_UNUSED(opline->op2); in zend_compile_encaps_list()
6838 opline->op1 = init_opline->op2; in zend_compile_encaps_list()