summaryrefslogtreecommitdiffhomepage
path: root/ir/be/beemitter.h
diff options
context:
space:
mode:
authorChristoph Mallon <mallon@cs.uni-saarland.de>2014-10-27 12:28:08 +0100
committerChristoph Mallon <mallon@cs.uni-saarland.de>2014-10-27 14:56:58 +0100
commitcd6c34f1fed71c52db2c7520ee50a42fcb8b83b6 (patch)
tree9b4469a980f666c967352d134add114944e7304a /ir/be/beemitter.h
parent3e20b1bdcdbfab2f0df2b76e3ca28155cc78fef0 (diff)
be: Factorise code to initialise emitters.
All backends emit nothing for Phis and be_Keeps, so set this centrally.
Diffstat (limited to 'ir/be/beemitter.h')
-rw-r--r--ir/be/beemitter.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/ir/be/beemitter.h b/ir/be/beemitter.h
index 8d488c8..3643cf4 100644
--- a/ir/be/beemitter.h
+++ b/ir/be/beemitter.h
@@ -117,6 +117,8 @@ static inline void be_set_emitter(ir_op *const op, emit_func *const func)
set_generic_function_ptr(op, func);
}
+void be_init_emitters(void);
+
void be_emit_nothing(ir_node const *node);
/**