summaryrefslogtreecommitdiffhomepage
path: root/ir/be/belive.c
diff options
context:
space:
mode:
authorMatthias Braun <matze@braunis.de>2012-11-27 17:27:10 +0100
committerMatthias Braun <matze@braunis.de>2012-11-28 11:27:13 +0100
commit5dd864dc8ffa757c3f44b2e49fd6c6f09ad25a03 (patch)
treef04591a7f89cba8dae7e717e063243ff05bad525 /ir/be/belive.c
parent555593b0aebec433b871920acc2b0a869b072055 (diff)
move is_liveness_node to irlivechk header and share it with belive
Diffstat (limited to 'ir/be/belive.c')
-rw-r--r--ir/be/belive.c20
1 files changed, 0 insertions, 20 deletions
diff --git a/ir/be/belive.c b/ir/be/belive.c
index c1123a6..ddabe0e 100644
--- a/ir/be/belive.c
+++ b/ir/be/belive.c
@@ -47,26 +47,6 @@ DEBUG_ONLY(static firm_dbg_module_t *dbg = NULL;)
#define LV_STD_SIZE 64
-/**
- * Filter out some nodes for which we never need liveness.
- *
- * @param irn the node t check
- * @return 0 if no liveness info is needed, 1 else
- */
-static inline int is_liveness_node(const ir_node *irn)
-{
- switch (get_irn_opcode(irn)) {
- case iro_Block:
- case iro_Bad:
- case iro_End:
- case iro_Anchor:
- case iro_NoMem:
- return 0;
- default:
- return 1;
- }
-}
-
int (be_is_live_in)(const be_lv_t *lv, const ir_node *block, const ir_node *irn)
{
return _be_is_live_xxx(lv, block, irn, be_lv_state_in);