X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=ir%2Fbe%2Fbestate.h;h=3191a10962f4abc1df9a08d68ee1478bcde8c239;hb=3c3425a50a1d721b74a015c6812257e32feeac85;hp=a1c30c1da739de92c64ba8e1f5f1b154a1335ecd;hpb=d1de7107f847963fbce099597e6c42c2371b053c;p=libfirm diff --git a/ir/be/bestate.h b/ir/be/bestate.h index a1c30c1da..3191a1096 100644 --- a/ir/be/bestate.h +++ b/ir/be/bestate.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. * @@ -23,14 +23,13 @@ * algorithm optimized for the 1-register case. * @author Matthias Braun * @date 26.03.2007 - * @version $Id$ */ #ifndef FIRM_BE_BESTATE_H #define FIRM_BE_BESTATE_H #include "firm_types.h" #include "beirg.h" -#include "bearch_t.h" +#include "bearch.h" /** * Callback that should create a spill for a certain value. Can return NULL @@ -52,8 +51,8 @@ typedef ir_node *(*create_reload_func) (void *env, ir_node *value, * This functions asserts that the state is switched to fullfill all state * requirements of nodes. */ -void be_assure_state(be_irg_t *birg, const arch_register_t *reg, void *func_env, +void be_assure_state(ir_graph *irg, const arch_register_t *reg, void *func_env, create_spill_func spill_func, create_reload_func reload_func); -#endif /* FIRM_BE_BESTATE_H */ +#endif