Lines Matching refs:op2
89 static zend_op *zend_emit_op(znode *result, zend_uchar opcode, znode *op1, znode *op2);
674 opline->op2.num >= n) { in zend_start_live_range_ex()
675 opline->op2.num++; in zend_start_live_range_ex()
1223 parent_name = CT_CONSTANT(fetch_class_opline->op2); in zend_do_early_binding()
1244 zend_del_literal(CG(active_op_array), fetch_class_opline->op2.constant); in zend_do_early_binding()
1307 zval *parent_name = RT_CONSTANT(op_array, op_array->opcodes[opline_num-1].op2); in zend_do_delayed_early_binding()
1619 SET_UNUSED(opline->op2); in zend_do_extended_info()
1635 SET_UNUSED(opline->op2); in zend_do_extended_fcall_begin()
1651 SET_UNUSED(opline->op2); in zend_do_extended_fcall_end()
2032 def = CG(active_op_array)->opcodes + def->op2.opline_num - 1; in zend_find_live_range()
2111 !zend_is_def_range(opline - 1, opline->op2_type, opline->op2.var)) { in zend_check_live_ranges()
2114 if (!zend_is_def_range(opline - 2, opline->op2_type, opline->op2.var)) { in zend_check_live_ranges()
2115 zend_find_live_range(opline-1, opline->op2_type, opline->op2.var); in zend_check_live_ranges()
2128 zend_find_live_range(opline, opline->op2_type, opline->op2.var); in zend_check_live_ranges()
2134 static zend_op *zend_emit_op(znode *result, zend_uchar opcode, znode *op1, znode *op2) /* {{{ */ in zend_emit_op() argument
2145 if (op2 == NULL) { in zend_emit_op()
2146 SET_UNUSED(opline->op2); in zend_emit_op()
2148 SET_NODE(opline->op2, op2); in zend_emit_op()
2160 static zend_op *zend_emit_op_tmp(znode *result, zend_uchar opcode, znode *op1, znode *op2) /* {{{ */ in zend_emit_op_tmp() argument
2171 if (op2 == NULL) { in zend_emit_op_tmp()
2172 SET_UNUSED(opline->op2); in zend_emit_op_tmp()
2174 SET_NODE(opline->op2, op2); in zend_emit_op_tmp()
2200 SET_UNUSED(opline->op2); in zend_emit_tick()
2259 opline->op2.opline_num = opnum_target; in zend_emit_cond_jump()
2276 opline->op2.opline_num = opnum_target; in zend_update_jump_target()
2289 …e zend_op *zend_delayed_emit_op(znode *result, zend_uchar opcode, znode *op1, znode *op2) /* {{{ */ in zend_delayed_emit_op() argument
2299 if (op2 == NULL) { in zend_delayed_emit_op()
2300 SET_UNUSED(tmp_opline.op2); in zend_delayed_emit_op()
2302 SET_NODE(tmp_opline.op2, op2); in zend_delayed_emit_op()
2385 opline->op2.num = CG(active_op_array)->cache_size; in zend_emit_return_type_check()
2388 opline->op2.num = -1; in zend_emit_return_type_check()
2510 opline->op2.constant = zend_add_class_name_literal(CG(active_op_array), in zend_compile_class_ref()
2751 convert_to_string(CT_CONSTANT(opline->op2)); in zend_delayed_compile_prop()
2752 zend_alloc_polymorphic_cache_slot(opline->op2.constant); in zend_delayed_compile_prop()
2797 opline->op2.constant = zend_add_class_name_literal( in zend_compile_static_prop_common()
2800 SET_NODE(opline->op2, &class_node); in zend_compile_static_prop_common()
3165 opline->op2.num = arg_count; in zend_compile_args()
3246 opline->op2.opline_num = arg_num; in zend_compile_args()
3325 opline->op2.constant = zend_add_ns_func_name_literal( in zend_compile_ns_call()
3327 zend_alloc_cache_slot(opline->op2.constant); in zend_compile_ns_call()
3347 opline->op2.constant = zend_add_func_name_literal(CG(active_op_array), method); in zend_compile_dynamic_call()
3348 zend_alloc_cache_slot(opline->op2.constant); in zend_compile_dynamic_call()
3356 opline->op2.constant = zend_add_func_name_literal(CG(active_op_array), str); in zend_compile_dynamic_call()
3357 zend_alloc_cache_slot(opline->op2.constant); in zend_compile_dynamic_call()
3532 LITERAL_STR(opline->op2, lcname); in zend_try_compile_ct_bound_init_user_func()
3533 zend_alloc_cache_slot(opline->op2.constant); in zend_try_compile_ct_bound_init_user_func()
3624 opline->op2.num = i; in zend_compile_func_cuf()
3650 opline->op2.constant = zend_add_ns_func_name_literal( in zend_compile_assert()
3653 zend_alloc_cache_slot(opline->op2.constant); in zend_compile_assert()
3667 opline->op2.opline_num = get_next_op_number(CG(active_op_array)); in zend_compile_assert()
4016 zend_alloc_cache_slot(opline->op2.constant); in zend_compile_call()
4048 opline->op2.constant = zend_add_func_name_literal(CG(active_op_array), in zend_compile_method_call()
4050 zend_alloc_polymorphic_cache_slot(opline->op2.constant); in zend_compile_method_call()
4052 SET_NODE(opline->op2, &method_node); in zend_compile_method_call()
4058 zend_string *lcname = Z_STR_P(CT_CONSTANT(opline->op2) + 1); in zend_compile_method_call()
4109 opline->op2.constant = zend_add_func_name_literal(CG(active_op_array), in zend_compile_static_call()
4112 zend_alloc_cache_slot(opline->op2.constant); in zend_compile_static_call()
4114 zend_alloc_polymorphic_cache_slot(opline->op2.constant); in zend_compile_static_call()
4117 SET_NODE(opline->op2, &method_node); in zend_compile_static_call()
4137 zend_string *lcname = Z_STR_P(CT_CONSTANT(opline->op2) + 1); in zend_compile_static_call()
4197 opline->op2.opline_num = get_next_op_number(CG(active_op_array)); in zend_compile_new()
4228 zend_alloc_cache_slot(opline->op2.constant); in zend_compile_global_var()
4352 SET_NODE(opline->op2, return_value); in zend_handle_loops_and_finally_ex()
4354 SET_UNUSED(opline->op2); in zend_handle_loops_and_finally_ex()
4362 SET_UNUSED(opline->op2); in zend_handle_loops_and_finally_ex()
4379 SET_UNUSED(opline->op2); in zend_handle_loops_and_finally_ex()
4380 opline->op2.num = loop_var->u.live_range_offset; in zend_handle_loops_and_finally_ex()
4545 opline->op2.num = depth; in zend_compile_break_continue()
4556 label = CT_CONSTANT_EX(op_array, opline->op2.constant); in zend_resolve_goto_label()
4598 SET_UNUSED(opline->op2); in zend_resolve_goto_label()
4797 SET_NODE(opline->op2, &value_node); in zend_compile_foreach()
4800 opline->op2.var = get_temporary_variable(CG(active_op_array)); in zend_compile_foreach()
4801 GET_NODE(&value_node, opline->op2); in zend_compile_foreach()
4824 opline->op2.opline_num = get_next_op_number(CG(active_op_array)); in zend_compile_foreach()
5058 SET_UNUSED(opline->op2); in zend_compile_switch()
5158 opline->op2.var = lookup_cv(CG(active_op_array), zend_string_copy(Z_STR_P(var_name))); in zend_compile_try()
5222 opline->op2.num = orig_try_catch_offset; in zend_compile_try()
5615 zend_alloc_cache_slot(opline->op2.constant); in zend_compile_params()
5617 Z_CACHE_SLOT(op_array->literals[opline->op2.constant]) = -1; in zend_compile_params()
5621 opline->op2.num = op_array->cache_size; in zend_compile_params()
5624 opline->op2.num = -1; in zend_compile_params()
5629 Z_CACHE_SLOT(op_array->literals[opline->op2.constant]) = -1; in zend_compile_params()
5631 opline->op2.num = -1; in zend_compile_params()
5669 opline->op2.var = lookup_cv(CG(active_op_array), zend_string_copy(var_name)); in zend_compile_closure_binding()
5922 SET_UNUSED(opline->op2); in zend_begin_func_decl()
6213 opline->op2.constant = zend_add_class_name_literal(CG(active_op_array), in zend_compile_use_trait()
6255 opline->op2.constant = zend_add_class_name_literal(CG(active_op_array), in zend_compile_implements()
6360 SET_NODE(opline->op2, &extends_node); in zend_compile_class_decl()
6389 opline->op2.constant = zend_add_class_name_literal(CG(active_op_array), in zend_compile_class_decl()
6401 SET_NODE(opline->op2, &extends_node); in zend_compile_class_decl()
6404 SET_UNUSED(opline->op2); in zend_compile_class_decl()
6881 …_bool zend_binary_op_produces_numeric_string_error(uint32_t opcode, zval *op1, zval *op2) /* {{{ */ in zend_binary_op_produces_numeric_string_error() argument
6892 && Z_TYPE_P(op1) == IS_STRING && Z_TYPE_P(op2) == IS_STRING) { in zend_binary_op_produces_numeric_string_error()
6901 if (Z_TYPE_P(op2) == IS_STRING in zend_binary_op_produces_numeric_string_error()
6902 && !is_numeric_string(Z_STRVAL_P(op2), Z_STRLEN_P(op2), NULL, NULL, 0)) { in zend_binary_op_produces_numeric_string_error()
6910 …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
6916 zval_get_long(op2) == 0) { in zend_try_ct_eval_binary_op()
6919 zval_get_long(op2) < 0) { in zend_try_ct_eval_binary_op()
6924 if (zend_binary_op_produces_numeric_string_error(opcode, op1, op2)) { in zend_try_ct_eval_binary_op()
6928 fn(result, op1, op2); in zend_try_ct_eval_binary_op()
6948 static inline void zend_ct_eval_greater(zval *result, zend_ast_kind kind, zval *op1, zval *op2) /* … in zend_ct_eval_greater() argument
6952 fn(result, op2, op1); in zend_ct_eval_greater()
7367 opline->op2.opline_num = get_next_op_number(CG(active_op_array)); in zend_compile_coalesce()
7476 opline->op2.constant = zend_add_class_name_literal( in zend_compile_instanceof()
7479 SET_NODE(opline->op2, &class_node); in zend_compile_instanceof()
7702 opline->op2.constant = zend_add_const_name_literal( in zend_compile_const()
7708 opline->op2.constant = zend_add_const_name_literal( in zend_compile_const()
7711 opline->op2.constant = zend_add_const_name_literal( in zend_compile_const()
7715 zend_alloc_cache_slot(opline->op2.constant); in zend_compile_const()
7768 zend_alloc_cache_slot(opline->op2.constant); in zend_compile_class_const()
7770 zend_alloc_polymorphic_cache_slot(opline->op2.constant); in zend_compile_class_const()
7820 SET_NODE(opline->op2, elem_node); in zend_compile_rope_add()
7882 GET_NODE(result, opline->op2); in zend_compile_encaps_list()
7888 opline->op1 = opline->op2; in zend_compile_encaps_list()
7891 SET_UNUSED(opline->op2); in zend_compile_encaps_list()
7898 opline->op1 = init_opline->op2; in zend_compile_encaps_list()