summaryrefslogtreecommitdiffhomepage
path: root/ir/be/beemitter.c
diff options
context:
space:
mode:
authorChristoph Mallon <christoph.mallon@gmx.de>2012-11-29 13:22:25 +0100
committerChristoph Mallon <christoph.mallon@gmx.de>2012-11-29 13:56:55 +0100
commit0f422870067627f102705b5f3e850f37c5abc1b7 (patch)
tree18731d45efdbf2153c6e84070e89fae68040ac0e /ir/be/beemitter.c
parent48feaf0618330fb060d22d5ef35c94dd7e9556a7 (diff)
beemit: Provide be_set_emitter() replacing identical functions in all backends.
Also use one common be_emit_nothing().
Diffstat (limited to 'ir/be/beemitter.c')
-rw-r--r--ir/be/beemitter.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/ir/be/beemitter.c b/ir/be/beemitter.c
index a08461d..9d03a49 100644
--- a/ir/be/beemitter.c
+++ b/ir/be/beemitter.c
@@ -108,3 +108,8 @@ void be_emit_finish_line_gas(const ir_node *node)
be_emit_cstring(" */\n");
be_emit_write_line();
}
+
+void be_emit_nothing(ir_node const *const node)
+{
+ (void)node;
+}