Lines Matching refs:op_type

297 	opline->result.op_type = IS_TMP_VAR;  in zend_do_binary_op()
310 opline->result.op_type = IS_TMP_VAR; in zend_do_unary_op()
318 …memset(&opline->op2,0,sizeof(znode)); opline->result.op_type=opline->op1.op_type=opline->op2.op_ty…
353 opline->op2.op_type = IS_VAR; in zend_do_binary_assign_op()
365 opline->result.op_type = IS_VAR; in zend_do_binary_assign_op()
378 if (varname->op_type == IS_CONST) { in fetch_simple_variable_ex()
387 result->op_type = IS_CV; in fetch_simple_variable_ex()
403 opline_ptr->result.op_type = IS_VAR; in fetch_simple_variable_ex()
411 if (varname->op_type == IS_CONST && varname->u.constant.type == IS_STRING) { in fetch_simple_variable_ex()
441 if (result->op_type == IS_CV) { in zend_do_fetch_static_member()
445 opline.result.op_type = IS_VAR; in zend_do_fetch_static_member()
448 opline.op1.op_type = IS_CONST; in zend_do_fetch_static_member()
462 if (opline_ptr->opcode != ZEND_FETCH_W && opline_ptr->op1.op_type == IS_CV) { in zend_do_fetch_static_member()
465 opline.result.op_type = IS_VAR; in zend_do_fetch_static_member()
468 opline.op1.op_type = IS_CONST; in zend_do_fetch_static_member()
501 opline.result.op_type = IS_VAR; in fetch_array_dim()
524 opline->result.op_type = IS_TMP_VAR; in zend_do_print()
578 if ((opline->opcode == ZEND_FETCH_W) && (opline->op1.op_type == IS_CONST) in opline_is_fetch_this()
594 if (value->op_type == IS_CV) { in zend_do_assign()
602 opline->op1.op_type == IS_CV && in zend_do_assign()
607 opline->result.op_type = IS_VAR; in zend_do_assign()
610 opline->op1.op_type = IS_CONST; in zend_do_assign()
626 if (variable->op_type == IS_CV) { in zend_do_assign()
630 } else if (variable->op_type == IS_VAR) { in zend_do_assign()
638 if (last_op->result.op_type == IS_VAR && in zend_do_assign()
670 opline->op2.op_type = IS_VAR; in zend_do_assign()
687 opline->result.op_type = IS_VAR; in zend_do_assign()
706 if (lvar->op_type == IS_CV) { in zend_do_assign_ref()
710 } else if (lvar->op_type == IS_VAR) { in zend_do_assign_ref()
731 opline->result.op_type = IS_VAR; in zend_do_assign_ref()
859 last_op->result.op_type = IS_VAR; in zend_do_pre_incdec()
871 opline->result.op_type = IS_VAR; in zend_do_pre_incdec()
888 last_op->result.op_type = IS_TMP_VAR; in zend_do_post_incdec()
899 opline->result.op_type = IS_TMP_VAR; in zend_do_post_incdec()
1007 if (variable->op_type == IS_VAR && in zend_do_end_variable_parse()
1009 variable->op_type = IS_CV; in zend_do_end_variable_parse()
1021 if (opline->op1.op_type == IS_VAR && in zend_do_end_variable_parse()
1023 opline->op1.op_type = IS_CV; in zend_do_end_variable_parse()
1028 if (opline->opcode == ZEND_FETCH_DIM_W && opline->op2.op_type == IS_UNUSED) { in zend_do_end_variable_parse()
1039 if (opline->opcode == ZEND_FETCH_DIM_W && opline->op2.op_type == IS_UNUSED) { in zend_do_end_variable_parse()
1049 if (opline->opcode == ZEND_FETCH_DIM_W && opline->op2.op_type == IS_UNUSED) { in zend_do_end_variable_parse()
1091 opline->result.op_type = IS_TMP_VAR; in zend_do_add_string()
1110 opline->result.op_type = IS_TMP_VAR; in zend_do_add_variable()
1120 if (op1->op_type==IS_TMP_VAR) { in zend_do_free()
1126 } else if (op1->op_type==IS_VAR) { in zend_do_free()
1132 if (opline->result.op_type == IS_VAR in zend_do_free()
1138 && opline->op1.op_type == IS_VAR in zend_do_free()
1145 } else if (opline->result.op_type==IS_VAR in zend_do_free()
1155 } else if (op1->op_type == IS_CONST) { in zend_do_free()
1352 opline->op1.op_type = IS_CONST; in zend_do_begin_function_declaration()
1354 opline->op2.op_type = IS_CONST; in zend_do_begin_function_declaration()
1376 switch_entry.cond.op_type = IS_UNUSED; in zend_do_begin_function_declaration()
1386 dummy_opline.result.op_type = IS_UNUSED; in zend_do_begin_function_declaration()
1387 dummy_opline.op1.op_type = IS_UNUSED; in zend_do_begin_function_declaration()
1412 function_name.op_type = IS_CONST; in zend_do_begin_lambda_function_declaration()
1417 result->op_type = IS_TMP_VAR; in zend_do_begin_lambda_function_declaration()
1478 if (class_type->op_type == IS_CONST && in zend_do_receive_arg()
1487 if (var->op_type == IS_CV && in zend_do_receive_arg()
1491 } else if (var->op_type == IS_VAR && in zend_do_receive_arg()
1521 if (class_type->op_type != IS_UNUSED) { in zend_do_receive_arg()
1600 …if ((last_op->op2.op_type == IS_CONST) && (last_op->op2.u.constant.type == IS_STRING) && (last_op-… in zend_do_begin_method_call()
1613 if (opline->op2.op_type == IS_CONST) { in zend_do_begin_method_call()
1614 opline->op1.op_type = IS_CONST; in zend_do_begin_method_call()
1637 opline->result.op_type = IS_VAR; in zend_do_clone()
1657 opline->op1.op_type = IS_CONST; in zend_do_begin_dynamic_function_call()
1667 opline2->op1.op_type = IS_CONST; in zend_do_begin_dynamic_function_call()
1680 if (opline->op2.op_type == IS_CONST) { in zend_do_begin_dynamic_function_call()
1681 opline->op1.op_type = IS_CONST; in zend_do_begin_dynamic_function_call()
1721 tmp.op_type = IS_CONST; in zend_resolve_non_class_name()
1777 tmp.op_type = IS_CONST; in zend_resolve_class_name()
1792 tmp.op_type = IS_CONST; in zend_resolve_class_name()
1811 tmp.op_type = IS_CONST; in zend_resolve_class_name()
1827 if (class_name->op_type == IS_CONST && in zend_do_fetch_class()
1843 if (class_name->op_type == IS_CONST) { in zend_do_fetch_class()
1865 …opline->result.op_type = IS_VAR; /* FIXME: Hack so that INIT_FCALL_BY_NAME still knows this is a c… in zend_do_fetch_class()
2010 if (method_name->op_type == IS_CONST) { in zend_do_begin_class_member_function_call()
2020 if (class_name->op_type == IS_CONST && in zend_do_begin_class_member_function_call()
2043 if (is_method && function_name && function_name->op_type == IS_UNUSED) { in zend_do_end_function_call()
2051 if (!is_method && !is_dynamic_fcall && function_name->op_type==IS_CONST) { in zend_do_end_function_call()
2062 opline->result.op_type = IS_VAR; in zend_do_end_function_call()
2099 if (param->op_type & (IS_VAR|IS_CV)) { in zend_do_pass_param()
2121 } else if (op == ZEND_SEND_VAL && (param->op_type & (IS_VAR|IS_CV))) { in zend_do_pass_param()
2127 switch (param->op_type) { in zend_do_pass_param()
2182 if (switch_entry->cond.op_type != IS_VAR && switch_entry->cond.op_type != IS_TMP_VAR) { in generate_free_switch_expr()
2183 return (switch_entry->cond.op_type == IS_UNUSED); in generate_free_switch_expr()
2188 opline->opcode = (switch_entry->cond.op_type == IS_TMP_VAR) ? ZEND_FREE : ZEND_SWITCH_FREE; in generate_free_switch_expr()
2201 if (foreach_copy->result.op_type == IS_UNUSED && foreach_copy->op1.op_type == IS_UNUSED) { in generate_free_foreach_copy()
2207 opline->opcode = (foreach_copy->result.op_type == IS_TMP_VAR) ? ZEND_FREE : ZEND_SWITCH_FREE; in generate_free_foreach_copy()
2212 if (foreach_copy->op1.op_type != IS_UNUSED) { in generate_free_foreach_copy()
2215 opline->opcode = (foreach_copy->op1.op_type == IS_TMP_VAR) ? ZEND_FREE : ZEND_SWITCH_FREE; in generate_free_foreach_copy()
2265 opline->op1.op_type = IS_CONST; in zend_do_return()
2362 opline->op2.op_type = IS_CV; in zend_do_begin_catch()
3087 opline->result.op_type = IS_UNUSED; in zend_do_early_binding()
3143 if (expr1->op_type == IS_TMP_VAR) { in zend_do_boolean_or_begin()
3147 opline->result.op_type = IS_TMP_VAR; in zend_do_boolean_or_begin()
3178 if (expr1->op_type == IS_TMP_VAR) { in zend_do_boolean_and_begin()
3182 opline->result.op_type = IS_TMP_VAR; in zend_do_boolean_and_begin()
3242 opline->op2.op_type = IS_CONST; in zend_do_brk_cont()
3278 if (case_list->op_type != IS_UNUSED) { /* non-empty switch */ in zend_do_switch_end()
3288 if (switch_entry_ptr->cond.op_type==IS_VAR || switch_entry_ptr->cond.op_type==IS_TMP_VAR) { in zend_do_switch_end()
3291 opline->opcode = (switch_entry_ptr->cond.op_type == IS_TMP_VAR) ? ZEND_FREE : ZEND_SWITCH_FREE; in zend_do_switch_end()
3295 if (switch_entry_ptr->cond.op_type == IS_CONST) { in zend_do_switch_end()
3319 opline->result.op_type = IS_TMP_VAR; in zend_do_case_before_statement()
3322 if (opline->op1.op_type == IS_CONST) { in zend_do_case_before_statement()
3334 if (case_list->op_type==IS_UNUSED) { in zend_do_case_before_statement()
3379 if (case_list->op_type==IS_UNUSED) { in zend_do_default_before_statement()
3417 tmp.op_type = IS_CONST; in zend_do_begin_class_declaration()
3446 if (parent_class_name && parent_class_name->op_type != IS_UNUSED) { in zend_do_begin_class_declaration()
3464 opline->op1.op_type = IS_CONST; in zend_do_begin_class_declaration()
3467 opline->op2.op_type = IS_CONST; in zend_do_begin_class_declaration()
3485 opline->result.op_type = IS_VAR; in zend_do_begin_class_declaration()
3706 if (object->op_type == IS_CV) { in zend_do_fetch_property()
3746 opline.result.op_type = IS_VAR; in zend_do_fetch_property()
3799 if (opline_ptr->op1.op_type == IS_UNUSED in zend_do_declare_implicit_property()
3801 && opline_ptr->op2.op_type == IS_CONST in zend_do_declare_implicit_property()
3839 opline->result.op_type = IS_VAR; in zend_do_begin_new_object()
3909 result->op_type = IS_CONST; in zend_constant_ct_subst()
3943 if (constant_container->op_type == IS_CONST && in zend_do_fetch_constant()
3952 opline->result.op_type = IS_TMP_VAR; in zend_do_fetch_constant()
3992 opline->result.op_type = IS_TMP_VAR; in zend_do_fetch_constant()
4012 switch (cmd->op_type) { in zend_do_shell_exec()
4030 opline->result.op_type = IS_VAR; in zend_do_shell_exec()
4035 opline->op1.op_type = IS_CONST; in zend_do_shell_exec()
4049 opline->result.op_type = IS_TMP_VAR; in zend_do_init_array()
4177 switch (expr->op_type) { in zend_do_list_end()
4194 opline->result.op_type = IS_VAR; in zend_do_list_end()
4198 opline->op2.op_type = IS_CONST; in zend_do_list_end()
4248 if (varname->op_type == IS_CONST) { in zend_do_fetch_static_variable()
4256 opline->result.op_type = IS_VAR; in zend_do_fetch_static_variable()
4264 if (varname->op_type == IS_CONST) { in zend_do_fetch_static_variable()
4294 value.op_type = IS_CONST; in zend_do_fetch_lexical_variable()
4310 if (varname->op_type == IS_CONST) { in zend_do_fetch_global_variable()
4318 opline->result.op_type = IS_VAR; in zend_do_fetch_global_variable()
4326 if (varname->op_type == IS_CONST) { in zend_do_fetch_global_variable()
4341 opline->result.op_type = IS_TMP_VAR; in zend_do_cast()
4357 opline->result.op_type = IS_VAR; in zend_do_include_or_eval()
4392 if (variable->op_type == IS_CV) { in zend_do_unset()
4427 if (variable->op_type == IS_CV) { in zend_do_isset_or_isempty()
4451 last_op->result.op_type = IS_TMP_VAR; in zend_do_isset_or_isempty()
4470 if (expr->op_type == IS_CONST) { in zend_do_instanceof()
4476 opline->result.op_type = IS_TMP_VAR; in zend_do_instanceof()
4505 if (CG(active_op_array)->opcodes[CG(active_op_array)->last-1].op1.op_type == IS_VAR) { in zend_do_foreach_begin()
4522 opline->result.op_type = IS_VAR; in zend_do_foreach_begin()
4534 tmp.op_type = IS_UNUSED; in zend_do_foreach_begin()
4544 opline->result.op_type = IS_VAR; in zend_do_foreach_begin()
4565 if (key->op_type != IS_UNUSED) { in zend_do_foreach_cont()
4577 if ((key->op_type != IS_UNUSED) && (key->u.EA.type & ZEND_PARSED_REFERENCE_VARIABLE)) { in zend_do_foreach_cont()
4598 if (fetch->opcode == ZEND_FETCH_DIM_W && fetch->op2.op_type == IS_UNUSED) { in zend_do_foreach_cont()
4605 foreach_copy->op1.op_type = IS_UNUSED; in zend_do_foreach_cont()
4619 if (key->op_type != IS_UNUSED) { in zend_do_foreach_cont()
4623 opline->result.op_type = IS_TMP_VAR; in zend_do_foreach_cont()
4752 result->op_type = IS_CONST; in zend_do_exit()
4763 opline->result.op_type = IS_TMP_VAR; in zend_do_begin_silence()
4787 opline->result.op_type = IS_TMP_VAR; in zend_do_jmp_set()
4842 opline->result.op_type = IS_TMP_VAR; in zend_do_qm_true()
4928 opline->op1.op_type = IS_CONST; in zend_do_ticks()
5002 zendlval->op_type = IS_CONST; in zendlex()
5109 tmp.op_type = IS_CONST; in zend_do_build_namespace_name()
5116 result->op_type = IS_CONST; in zend_do_build_namespace_name()
5300 tmp.op_type = IS_CONST; in zend_do_declare_constant()