summaryrefslogtreecommitdiffhomepage
path: root/ir/be/beemitter.c
diff options
context:
space:
mode:
authorMatthias Braun <matze@braunis.de>2014-12-28 22:05:14 +0100
committerMatthias Braun <matze@braunis.de>2014-12-29 00:19:12 +0100
commit07a2398895cc546b4a1115721e95e032d7d786db (patch)
tree99fbc6d3ed042b004e60794ce78fc18af09f1122 /ir/be/beemitter.c
parent9bab46610a03c2af112b44be5518d91e3eda3096 (diff)
benode: introduce be_AnyVal.
This replaces ia32_ProduceVal/arm_EmptyReg. You should avoid using this node in general, but there are some cases where you need it to fixup nodes that are not register pressure faithful.
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 fd77dee..b3dbff5 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_AnyVal, be_emit_nothing);
+ be_set_emitter(op_be_Keep, be_emit_nothing);
}
void be_emit_nothing(ir_node const *const node)