Lines Matching refs:IS_CONST

39 		if ((src)->op_type == IS_CONST) { \
48 if ((target)->op_type == IS_CONST) { \
681 } else if (op1->op_type == IS_CONST) { in zend_do_free()
1975 if ((cond->op_type & (IS_CV|IS_CONST)) in zend_emit_cond_jump()
2062 if (expr && expr->op_type == IS_CONST) { in zend_emit_return_type_check()
2086 zn.op_type = IS_CONST; in zend_emit_final_return()
2145 if (node->op_type == IS_CONST && Z_TYPE(node->u.constant) == IS_STRING) { in zend_handle_numeric_op()
2158 if (class_node->op_type == IS_CONST) { in zend_set_class_name_op1()
2159 opline->op1_type = IS_CONST; in zend_set_class_name_op1()
2174 if (name_node.op_type == IS_CONST) { in zend_compile_class_ref()
2190 opline->op2_type = IS_CONST; in zend_compile_class_ref()
2241 if (name_node.op_type == IS_CONST) { in zend_compile_simple_var_no_cv()
2251 if (name_node.op_type == IS_CONST && in zend_compile_simple_var_no_cv()
2381 if (opline->op2_type == IS_CONST) { in zend_delayed_compile_prop()
2414 class_node.op_type = IS_CONST; in zend_compile_static_prop_common()
2427 if (opline->op1_type == IS_CONST) { in zend_compile_static_prop_common()
2431 if (class_node.op_type == IS_CONST) { in zend_compile_static_prop_common()
2432 opline->op2_type = IS_CONST; in zend_compile_static_prop_common()
2466 dim_node.op_type = IS_CONST; in zend_compile_list_assign()
2469 if (expr_node->op_type == IS_CONST) { in zend_compile_list_assign()
2758 if (arg_node.op_type & (IS_CONST|IS_TMP_VAR)) { in zend_compile_args()
2895 name_node->op_type = IS_CONST; in zend_compile_function_name()
2908 opline->op2_type = IS_CONST; in zend_compile_ns_call()
2920 if (name_node->op_type == IS_CONST && Z_TYPE(name_node->u.constant) == IS_STRING) { in zend_compile_dynamic_call()
2927 opline->op1_type = IS_CONST; in zend_compile_dynamic_call()
2929 opline->op2_type = IS_CONST; in zend_compile_dynamic_call()
2936 opline->op2_type = IS_CONST; in zend_compile_dynamic_call()
2973 if (arg_node.op_type == IS_CONST && Z_TYPE(arg_node.u.constant) == IS_STRING) { in zend_compile_func_strlen()
2974 result->op_type = IS_CONST; in zend_compile_func_strlen()
3016 opline->op1_type = IS_CONST; in zend_compile_func_defined()
3056 opline->op2_type = IS_CONST; in zend_try_compile_ct_bound_init_user_func()
3076 opline->op1_type = IS_CONST; in zend_compile_init_user_func()
3159 name_node.op_type = IS_CONST; in zend_compile_assert()
3165 opline->op2_type = IS_CONST; in zend_compile_assert()
3187 result->op_type = IS_CONST; in zend_compile_assert()
3327 if (method_node.op_type == IS_CONST) { in zend_compile_method_call()
3332 opline->op2_type = IS_CONST; in zend_compile_method_call()
3361 class_node.op_type = IS_CONST; in zend_compile_static_call()
3369 if (method_node.op_type == IS_CONST) { in zend_compile_static_call()
3386 if (method_node.op_type == IS_CONST) { in zend_compile_static_call()
3387 opline->op2_type = IS_CONST; in zend_compile_static_call()
3390 if (opline->op1_type == IS_CONST) { in zend_compile_static_call()
3415 class_node.op_type = IS_CONST; in zend_compile_new()
3435 if (class_node.op_type == IS_CONST) { in zend_compile_new()
3436 opline->op1_type = IS_CONST; in zend_compile_new()
3471 if (name_node.op_type == IS_CONST) { in zend_compile_global_var()
3636 expr_node.op_type = IS_CONST; in zend_compile_return()
3885 result->op_type = IS_CONST; in zend_compile_expr_list()
4079 } else if (expr_node.op_type == IS_CONST) { in zend_compile_switch()
4112 if (expr_node.op_type == IS_CONST in zend_compile_switch()
4115 } else if (expr_node.op_type == IS_CONST in zend_compile_switch()
4121 if (opline->op1_type == IS_CONST) { in zend_compile_switch()
4153 } else if (expr_node.op_type == IS_CONST) { in zend_compile_switch()
4233 opline->op1_type = IS_CONST; in zend_compile_try()
4570 default_node.op_type = IS_CONST; in zend_compile_params()
4901 opline->op2_type = IS_CONST; in zend_begin_func_decl()
4908 opline->op1_type = IS_CONST; in zend_begin_func_decl()
5194 opline->op2_type = IS_CONST; in zend_compile_use_trait()
5236 opline->op2_type = IS_CONST; in zend_compile_implements()
5334 opline->op2_type = IS_CONST; in zend_compile_class_decl()
5368 opline->op1_type = IS_CONST; in zend_compile_class_decl()
5659 value_node.op_type = IS_CONST; in zend_compile_const_decl()
5678 name_node.op_type = IS_CONST; in zend_compile_const_decl()
5991 if (left_node.op_type == IS_CONST && right_node.op_type == IS_CONST) { in zend_compile_binary_op()
5995 result->op_type = IS_CONST; in zend_compile_binary_op()
6004 if (left_node.op_type == IS_CONST) { in zend_compile_binary_op()
6014 } else if (right_node.op_type == IS_CONST) { in zend_compile_binary_op()
6028 if (left_node.op_type == IS_CONST) { in zend_compile_binary_op()
6031 if (right_node.op_type == IS_CONST) { in zend_compile_binary_op()
6053 if (left_node.op_type == IS_CONST && right_node.op_type == IS_CONST) { in zend_compile_greater()
6054 result->op_type = IS_CONST; in zend_compile_greater()
6076 if (expr_node.op_type == IS_CONST) { in zend_compile_unary_op()
6077 result->op_type = IS_CONST; in zend_compile_unary_op()
6098 if (expr_node.op_type == IS_CONST) { in zend_compile_unary_pm()
6099 result->op_type = IS_CONST; in zend_compile_unary_pm()
6105 lefthand_node.op_type = IS_CONST; in zend_compile_unary_pm()
6124 if (left_node.op_type == IS_CONST) { in zend_compile_short_circuiting()
6127 result->op_type = IS_CONST; in zend_compile_short_circuiting()
6132 if (right_node.op_type == IS_CONST) { in zend_compile_short_circuiting()
6133 result->op_type = IS_CONST; in zend_compile_short_circuiting()
6315 result->op_type = IS_CONST; in zend_compile_print()
6332 result->op_type = IS_CONST; in zend_compile_exit()
6397 if (obj_node.op_type == IS_CONST) { in zend_compile_instanceof()
6403 class_node.op_type = IS_CONST; in zend_compile_instanceof()
6412 if (class_node.op_type == IS_CONST) { in zend_compile_instanceof()
6413 opline->op2_type = IS_CONST; in zend_compile_instanceof()
6546 result->op_type = IS_CONST; in zend_compile_array()
6582 if (key_ast && key_node.op_type == IS_CONST && Z_TYPE(key_node.u.constant) == IS_STRING) { in zend_compile_array()
6619 result->op_type = IS_CONST; in zend_compile_const()
6627 result->op_type = IS_CONST; in zend_compile_const()
6633 opline->op2_type = IS_CONST; in zend_compile_const()
6667 result->op_type = IS_CONST; in zend_compile_class_const()
6681 result->op_type = IS_CONST; in zend_compile_class_const()
6692 class_node.op_type = IS_CONST; in zend_compile_class_const()
6707 if (opline->op1_type == IS_CONST) { in zend_compile_class_const()
6724 result->op_type = IS_CONST; in zend_compile_resolve_class_name()
6739 result->op_type = IS_CONST; in zend_compile_resolve_class_name()
6782 if (elem_node.op_type == IS_CONST) { in zend_compile_encaps_list()
6787 } else if (last_const_node.op_type == IS_CONST) { in zend_compile_encaps_list()
6791 last_const_node.op_type = IS_CONST; in zend_compile_encaps_list()
6799 if (last_const_node.op_type == IS_CONST) { in zend_compile_encaps_list()
6808 result->op_type = IS_CONST; in zend_compile_encaps_list()
6809 if (last_const_node.op_type == IS_CONST) { in zend_compile_encaps_list()
6816 } else if (last_const_node.op_type == IS_CONST) { in zend_compile_encaps_list()
6821 if (opline->op2_type == IS_CONST) { in zend_compile_encaps_list()
6883 result->op_type = IS_CONST; in zend_compile_magic_const()
7202 result->op_type = IS_CONST; in zend_compile_expr()