summaryrefslogtreecommitdiffhomepage
path: root/ir/be/besched.h
diff options
context:
space:
mode:
authorChristoph Mallon <christoph.mallon@gmx.de>2012-11-24 21:28:19 +0100
committerChristoph Mallon <christoph.mallon@gmx.de>2012-11-24 22:09:25 +0100
commit362eed8b3b07f84194faae49b576c5d22efd7fcd (patch)
treea560d8c6341eddd55e7b6cf7d85637d60a8d9560 /ir/be/besched.h
parentde85f8ac7a6cca006793ffdbb767aee4814db66e (diff)
besched: Remove the unused/unnecessary functions sched_has_next() and sched_has_prev().
Diffstat (limited to 'ir/be/besched.h')
-rw-r--r--ir/be/besched.h24
1 files changed, 0 insertions, 24 deletions
diff --git a/ir/be/besched.h b/ir/be/besched.h
index b080b0b..bb9694f 100644
--- a/ir/be/besched.h
+++ b/ir/be/besched.h
@@ -75,30 +75,6 @@ static inline bool sched_is_begin(const ir_node *node)
}
/**
- * Check, if an ir_node has a scheduling successor.
- * @param irn The ir node.
- * @return 1, if the node has a scheduling successor, 0 if not.
- */
-static inline bool sched_has_next(const ir_node *irn)
-{
- const sched_info_t *info = get_irn_sched_info(irn);
- const ir_node *block = is_Block(irn) ? irn : get_nodes_block(irn);
- return info->next != block;
-}
-
-/**
- * Check, if an ir_node has a scheduling predecessor.
- * @param irn The ir node.
- * @return 1, if the node has a scheduling predecessor, 0 if not.
- */
-static inline bool sched_has_prev(const ir_node *irn)
-{
- const sched_info_t *info = get_irn_sched_info(irn);
- const ir_node *block = is_Block(irn) ? irn : get_nodes_block(irn);
- return info->prev != block;
-}
-
-/**
* Get the scheduling successor of a node.
* @param irn The node.
* @return The next ir node in the schedule or the block, if the node has no next node.