summaryrefslogtreecommitdiffhomepage
path: root/ir/be/beemitter.c
diff options
context:
space:
mode:
authorChristoph Mallon <mallon@cs.uni-saarland.de>2015-08-07 23:53:17 +0200
committerChristoph Mallon <mallon@cs.uni-saarland.de>2015-08-09 09:47:27 +0200
commit36de184977ec02d6df9a3194520ae19307c526eb (patch)
treeb69c227f7437bfe564ba891160fa9cdd97ac9b8d /ir/be/beemitter.c
parent4f7811db7b0ad2348da3689d6f43ed07aa48d2f5 (diff)
be: Reintroduce be_Start.
All backends have similar empty Start nodes, which just provide registers. So having one generic backend Start node to share some infrastructure is sensible.
Diffstat (limited to 'ir/be/beemitter.c')
-rw-r--r--ir/be/beemitter.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/ir/be/beemitter.c b/ir/be/beemitter.c
index 1aff04f..ce1f0c5 100644
--- a/ir/be/beemitter.c
+++ b/ir/be/beemitter.c
@@ -85,8 +85,9 @@ void be_emit_finish_line_gas(const ir_node *node)
void be_init_emitters(void)
{
ir_clear_opcodes_generic_func();
- be_set_emitter(op_Phi, be_emit_nothing);
- be_set_emitter(op_be_Keep, be_emit_nothing);
+ be_set_emitter(op_Phi, be_emit_nothing);
+ be_set_emitter(op_be_Keep, be_emit_nothing);
+ be_set_emitter(op_be_Start, be_emit_nothing);
}
void be_emit_nothing(ir_node const *const node)