Commit 49b485b0 authored by Matthias Braun's avatar Matthias Braun
Browse files

TEMPLATE: No need for custom gen_Proj() anymore

parent b6938ee9
......@@ -258,16 +258,6 @@ static ir_node *gen_Proj_Start(ir_node *node)
panic("unexpected Start proj %u", pn);
}
static ir_node *gen_Proj(ir_node *node)
{
ir_node *pred = get_Proj_pred(node);
switch (get_irn_opcode(pred)) {
case iro_Start: return gen_Proj_Start(node);
default:
panic("code selection can't handle Proj after %+F", pred);
}
}
static void TEMPLATE_register_transformers(void)
{
be_start_transform_setup();
......@@ -283,7 +273,6 @@ static void TEMPLATE_register_transformers(void)
be_set_transform_function(op_Mul, gen_Mul);
be_set_transform_function(op_Not, gen_Not);
be_set_transform_function(op_Or, gen_Or);
be_set_transform_function(op_Proj, gen_Proj);
be_set_transform_function(op_Phi, gen_Phi);
be_set_transform_function(op_Return, gen_Return);
be_set_transform_function(op_Shl, gen_Shl);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment