summaryrefslogtreecommitdiffhomepage
path: root/ir/be/beemitter.h
diff options
context:
space:
mode:
authorChristoph Mallon <christoph.mallon@gmx.de>2012-11-29 12:22:22 +0100
committerChristoph Mallon <christoph.mallon@gmx.de>2012-11-29 13:57:00 +0100
commitbdf50dd01ebd2861cb789c4783387673865e2420 (patch)
tree8878b91cfafd5555687964aa52d38feecae688ca /ir/be/beemitter.h
parent0f422870067627f102705b5f3e850f37c5abc1b7 (diff)
beemit: Provide be_emit_node(), which merges the (almost) identical node emit functions of the backends.
Diffstat (limited to 'ir/be/beemitter.h')
-rw-r--r--ir/be/beemitter.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/ir/be/beemitter.h b/ir/be/beemitter.h
index 0b0dcfc..d44dfd3 100644
--- a/ir/be/beemitter.h
+++ b/ir/be/beemitter.h
@@ -133,4 +133,9 @@ static inline void be_set_emitter(ir_op *const op, emit_func *const func)
void be_emit_nothing(ir_node const *node);
+/**
+ * Emit code for a node.
+ */
+void be_emit_node(ir_node const *node);
+
#endif