/*
- * Copyright (C) 1995-2007 University of Karlsruhe. All right reserved.
+ * Copyright (C) 1995-2008 University of Karlsruhe. All right reserved.
*
* This file is part of libFirm.
*
#include "bearch.h"
#include "irnodeset.h"
+struct be_irg_t;
+
typedef enum {
be_lv_state_in = 1,
be_lv_state_end = 2,
* 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.
/**
* Remove a node from the liveness information.
*/
-void be_liveness_remove(be_lv_t *lv, ir_node *irn);
+void be_liveness_remove(be_lv_t *lv, const ir_node *irn);
/**
* Introduce a new node to the liveness information.