Lines Matching refs:op1
89 static zend_op *zend_emit_op(znode *result, zend_uchar opcode, znode *op1, znode *op2);
730 void zend_do_free(znode *op1) /* {{{ */ in zend_do_free() argument
732 if (op1->op_type == IS_TMP_VAR) { in zend_do_free()
739 if (opline->result_type == IS_TMP_VAR && opline->result.var == op1->u.op.var) { in zend_do_free()
745 zend_emit_op(NULL, ZEND_FREE, op1, NULL); in zend_do_free()
746 } else if (op1->op_type == IS_VAR) { in zend_do_free()
754 && opline->result.var == op1->u.op.var) { in zend_do_free()
762 zend_emit_op(NULL, ZEND_FREE, op1, NULL); in zend_do_free()
773 opline->op1.var == op1->u.op.var) { in zend_do_free()
774 zend_emit_op(NULL, ZEND_FREE, op1, NULL); in zend_do_free()
778 && opline->result.var == op1->u.op.var) { in zend_do_free()
780 zend_emit_op(NULL, ZEND_FREE, op1, NULL); in zend_do_free()
787 } else if (op1->op_type == IS_CONST) { in zend_do_free()
791 zval_ptr_dtor_nogc(&op1->u.constant); in zend_do_free()
1064 lcname = CT_CONSTANT_EX(op_array, opline->op1.constant); in do_bind_function()
1067 lcname = RT_CONSTANT(op_array, opline->op1); in do_bind_function()
1105 lcname = CT_CONSTANT_EX(op_array, opline->op1.constant); in do_bind_class()
1108 lcname = RT_CONSTANT(op_array, opline->op1); in do_bind_class()
1140 lcname = CT_CONSTANT_EX(op_array, opline->op1.constant); in do_bind_inherited_class()
1143 lcname = RT_CONSTANT(op_array, opline->op1); in do_bind_inherited_class()
1244 zend_hash_del(table, Z_STR_P(CT_CONSTANT(opline->op1)+1)); in zend_do_early_binding()
1245 zend_del_literal(CG(active_op_array), opline->op1.constant+1); in zend_do_early_binding()
1246 zend_del_literal(CG(active_op_array), opline->op1.constant); in zend_do_early_binding()
1593 SET_UNUSED(opline->op1); in zend_do_extended_info()
1609 SET_UNUSED(opline->op1); in zend_do_extended_fcall_begin()
1625 SET_UNUSED(opline->op1); in zend_do_extended_fcall_end()
2081 !zend_is_def_range(opline - 1, opline->op1_type, opline->op1.var)) { in zend_check_live_ranges()
2084 if (!zend_is_def_range(opline - 2, opline->op1_type, opline->op1.var)) { in zend_check_live_ranges()
2085 zend_find_live_range(opline - 1, opline->op1_type, opline->op1.var); in zend_check_live_ranges()
2109 zend_find_live_range(opline, opline->op1_type, opline->op1.var); in zend_check_live_ranges()
2137 static zend_op *zend_emit_op(znode *result, zend_uchar opcode, znode *op1, znode *op2) /* {{{ */ in zend_emit_op() argument
2142 if (op1 == NULL) { in zend_emit_op()
2143 SET_UNUSED(opline->op1); in zend_emit_op()
2145 SET_NODE(opline->op1, op1); in zend_emit_op()
2163 static zend_op *zend_emit_op_tmp(znode *result, zend_uchar opcode, znode *op1, znode *op2) /* {{{ */ in zend_emit_op_tmp() argument
2168 if (op1 == NULL) { in zend_emit_op_tmp()
2169 SET_UNUSED(opline->op1); in zend_emit_op_tmp()
2171 SET_NODE(opline->op1, op1); in zend_emit_op_tmp()
2202 SET_UNUSED(opline->op1); in zend_emit_tick()
2218 opline->op1.opline_num = opnum_target; in zend_emit_jump()
2270 opline->op1.opline_num = opnum_target; in zend_update_jump_target()
2290 static inline zend_op *zend_delayed_emit_op(znode *result, zend_uchar opcode, znode *op1, znode *op… in zend_delayed_emit_op() argument
2295 if (op1 == NULL) { in zend_delayed_emit_op()
2296 SET_UNUSED(tmp_opline.op1); in zend_delayed_emit_op()
2298 SET_NODE(tmp_opline.op1, op1); in zend_delayed_emit_op()
2480 opline->op1.constant = zend_add_class_name_literal( in zend_set_class_name_op1()
2483 SET_NODE(opline->op1, class_node); in zend_set_class_name_op1()
2666 opline->result.var = opline->op1.var; in zend_separate_if_call_and_write()
2793 convert_to_string(CT_CONSTANT(opline->op1)); in zend_compile_static_prop_common()
2794 zend_alloc_polymorphic_cache_slot(opline->op1.constant); in zend_compile_static_prop_common()
3296 opline->op1.num = zend_vm_calc_used_stack(arg_count, fbc); in zend_compile_call_common()
3301 opline->op1.num = call_flags; in zend_compile_call_common()
3324 SET_UNUSED(opline->op1); in zend_compile_ns_call()
3346 opline->op1.constant = zend_add_class_name_literal(CG(active_op_array), class); in zend_compile_dynamic_call()
3355 SET_UNUSED(opline->op1); in zend_compile_dynamic_call()
3459 LITERAL_STR(opline->op1, name); in zend_compile_func_defined()
3460 zend_alloc_cache_slot(opline->op1.constant); in zend_compile_func_defined()
3537 opline->op1.num = zend_vm_calc_used_stack(num_args, fbc); in zend_try_compile_ct_bound_init_user_func()
3559 LITERAL_STR(opline->op1, zend_string_copy(orig_func_name)); in zend_compile_init_user_func()
3885 zend_string *lcname = Z_STR_P(CT_CONSTANT(opline->op1) + 1); in zend_compile_static_call()
3892 && (opline->op1.num & ZEND_FETCH_CLASS_MASK) == ZEND_FETCH_CLASS_SELF in zend_compile_static_call()
3937 opline->op1.constant = zend_add_class_name_literal( in zend_compile_new()
3940 SET_NODE(opline->op1, &class_node); in zend_compile_new()
4029 opline->op1.var = lookup_cv(CG(active_op_array), zend_string_copy(Z_STR(var_node.u.constant))); in zend_compile_static_var_common()
4103 SET_UNUSED(opline->op1); in zend_handle_loops_and_finally_ex()
4109 opline->op1.num = loop_var->u.try_catch_offset; in zend_handle_loops_and_finally_ex()
4114 opline->op1.var = loop_var->var_num; in zend_handle_loops_and_finally_ex()
4131 opline->op1.var = loop_var->var_num; in zend_handle_loops_and_finally_ex()
4297 opline->op1.num = CG(context).current_brk_cont; in zend_compile_break_continue()
4305 int current, remove_oplines = opline->op1.num; in zend_resolve_goto_label()
4348 opline->op1.opline_num = dest->opline_num; in zend_resolve_goto_label()
4350 SET_UNUSED(opline->op1); in zend_resolve_goto_label()
4375 opline->op1.num = get_next_op_number(CG(active_op_array)) - opnum_start - 1; in zend_compile_goto()
4673 zval_copy_ctor(CT_CONSTANT(opline->op1)); in zend_compile_switch()
4706 SET_NODE(opline->op1, &expr_node); in zend_compile_switch()
4799 opline->op1.constant = zend_add_class_name_literal(CG(active_op_array), in zend_compile_try()
4856 opline->op1.num = try_catch_offset; in zend_compile_try()
4872 opline->op1.var = CG(context).fast_call_var; in zend_compile_try()
5186 opline->op1.num = i + 1; in zend_compile_params()
5558 LITERAL_STR(opline->op1, key); in zend_begin_func_decl()
5563 LITERAL_STR(opline->op1, zend_string_copy(lcname)); in zend_begin_func_decl()
5855 SET_NODE(opline->op1, &FC(implementing_class)); in zend_compile_use_trait()
5997 LITERAL_STR(opline->op1, lcname); in zend_compile_class_decl()
6532 ZEND_API zend_bool zend_binary_op_produces_numeric_string_error(uint32_t opcode, zval *op1, zval *o… in zend_binary_op_produces_numeric_string_error() argument
6543 && Z_TYPE_P(op1) == IS_STRING && Z_TYPE_P(op2) == IS_STRING) { in zend_binary_op_produces_numeric_string_error()
6547 if (Z_TYPE_P(op1) == IS_STRING in zend_binary_op_produces_numeric_string_error()
6548 && !is_numeric_string(Z_STRVAL_P(op1), Z_STRLEN_P(op1), NULL, NULL, 0)) { in zend_binary_op_produces_numeric_string_error()
6561 static inline zend_bool zend_try_ct_eval_binary_op(zval *result, uint32_t opcode, zval *op1, zval *… in zend_try_ct_eval_binary_op() argument
6575 if (zend_binary_op_produces_numeric_string_error(opcode, op1, op2)) { in zend_try_ct_eval_binary_op()
6579 fn(result, op1, op2); in zend_try_ct_eval_binary_op()
6599 static inline void zend_ct_eval_greater(zval *result, zend_ast_kind kind, zval *op1, zval *op2) /* … in zend_ct_eval_greater() argument
6603 fn(result, op2, op1); in zend_ct_eval_greater()
7455 SET_UNUSED(opline->op1); in zend_compile_rope_add()
7458 SET_NODE(opline->op1, result); in zend_compile_rope_add()
7528 opline->op1 = opline->op2; in zend_compile_encaps_list()
7538 opline->op1 = init_opline->op2; in zend_compile_encaps_list()
7550 var = opline->op1.var = get_temporary_variable(CG(active_op_array)); in zend_compile_encaps_list()
7568 opline->op1.var = var; in zend_compile_encaps_list()