X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=ir%2Fbe%2Fbelive.h;h=e3f95dec5a8f99c465a14232cbf10cc420013884;hb=8d07d17eb2ade0b6b4aef0ebd68d6af3cc368b06;hp=dbd71ab557101aea36ec0ea7565a9b5c2b73ed22;hpb=f94d292525ff2eb4b35dfcb1977612aa9deca775;p=libfirm diff --git a/ir/be/belive.h b/ir/be/belive.h index dbd71ab55..e3f95dec5 100644 --- a/ir/be/belive.h +++ b/ir/be/belive.h @@ -1,5 +1,5 @@ /* - * 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. * @@ -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. @@ -79,7 +81,7 @@ void be_liveness_update(be_lv_t *lv, ir_node *irn); /** * 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.