#include "debug.h"
#include "error.h"
-#include "../benode_t.h"
+#include "../benode.h"
#include "bearch_ppc32_t.h"
#include "ppc32_nodes_attr.h"
-//#include "../arch/archop.h" /* we need this for Min and Max nodes */
#include "ppc32_transform_conv.h"
#include "ppc32_transform.h"
#include "ppc32_new_nodes.h"
in[0] = op;
- method_type = new_type_method(new_id_from_str("convert_call_type"), 1, 1);
- set_method_param_type(method_type, 0, new_type_primitive(new_id_from_str("conv_param"), from_mode));
- set_method_res_type(method_type, 0, new_type_primitive(new_id_from_str("conv_result"), to_mode));
+ method_type = new_type_method(1, 1);
+ set_method_param_type(method_type, 0, new_type_primitive(from_mode));
+ set_method_res_type(method_type, 0, new_type_primitive(to_mode));
method_ent = new_entity(get_glob_type(), new_id_from_str(funcname), method_type);
callee = new_rd_SymConst_addr_ent(env->dbg, env->irg, mode_P_code, method_ent, method_type);
call = new_rd_Call(env->dbg, env->block, memory, callee, 1, in, method_type);
call_results = new_rd_Proj(env->dbg, env->block, call, mode_T, pn_Call_T_result);
- memory = new_rd_Proj(env->dbg, env->block, call, mode_M, pn_Call_M_regular);
+ memory = new_rd_Proj(env->dbg, env->block, call, mode_M, pn_Call_M);
return new_rd_Proj(env->dbg, env->block, call_results, to_mode, 0);
}