summaryrefslogtreecommitdiffhomepage
path: root/ir/be/belive.h
diff options
context:
space:
mode:
authorChristoph Mallon <christoph.mallon@gmx.de>2012-11-24 15:26:01 +0100
committerChristoph Mallon <christoph.mallon@gmx.de>2012-11-24 15:26:01 +0100
commit79ed09cada62c1f96ea40b427372a0f06d6bc638 (patch)
tree548baa0ac2a27bc326b29237216f742c0ec06967 /ir/be/belive.h
parent623a89e25bce0fa58ab7cef147fc08f3a56ead6b (diff)
belive: Change be_liveness_nodes_live_at() to be_liveness_nodes_live_before().
The operation we want to perform is to get the live values just before a node.
Diffstat (limited to 'ir/be/belive.h')
-rw-r--r--ir/be/belive.h8
1 files changed, 2 insertions, 6 deletions
diff --git a/ir/be/belive.h b/ir/be/belive.h
index 311448b..e95949c 100644
--- a/ir/be/belive.h
+++ b/ir/be/belive.h
@@ -149,15 +149,11 @@ void be_liveness_end_of_block(const be_lv_t *lv,
const ir_node *bl, ir_nodeset_t *nodeset);
/**
- * Compute a set of nodes which are live at another node.
- * BEWARE: This is the liveness immediately after the node,
- * so the node itself is alive but its operands maybe not.
+ * Compute a set of nodes which are live just before the given node.
* @param cls The register class to consider.
* @param pos The node.
* @param live The set to put them into.
*/
-void be_liveness_nodes_live_at(const be_lv_t *lv,
- const arch_register_class_t *cls,
- const ir_node *pos, ir_nodeset_t *live);
+void be_liveness_nodes_live_before(be_lv_t const *lv, arch_register_class_t const *cls, ir_node const *pos, ir_nodeset_t *live);
#endif