summaryrefslogtreecommitdiffhomepage
path: root/ir/be/belive.h
diff options
context:
space:
mode:
authorSebastian Hack <hack@ipd.info.uni-karlsruhe.de>2007-08-17 13:45:54 +0200
committerSebastian Hack <hack@ipd.info.uni-karlsruhe.de>2007-08-17 13:45:54 +0200
commit09af833b4aa9efe8de16ed08d0005b01cd0ed69c (patch)
tree204c5d23936c73ecc27c3bcfead9b7fa10ae6b84 /ir/be/belive.h
parente66230064eece9d3e28b66ae3a26bf8554459c60 (diff)
Changed API of liveness
It gets a beirg not an irg anymore [r15560]
Diffstat (limited to 'ir/be/belive.h')
-rw-r--r--ir/be/belive.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/ir/be/belive.h b/ir/be/belive.h
index dbd71ab..4b19b39 100644
--- a/ir/be/belive.h
+++ b/ir/be/belive.h
@@ -36,6 +36,8 @@
#include "bearch.h"
#include "irnodeset.h"
+struct be_irg_t;
+
typedef enum {
be_lv_state_in = 1,
be_lv_state_end = 2,
@@ -50,7 +52,7 @@ typedef struct _be_lv_info_t be_lv_info_t;
* Compute the inter block liveness for a graph.
* @param irg The graph.
*/
-be_lv_t *be_liveness(ir_graph *irg);
+be_lv_t *be_liveness(const struct be_irg_t *birg);
/**
* Check the given liveness information against a freshly computed one.