X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=ir%2Fbe%2Fbestate.h;h=de73905fe0a0027633debdd32c6b656941771720;hb=da0e1dafc4933d6cd5339b1e8688453273dfebef;hp=42bae846b63e97b9054f1a44d03f82cba9295194;hpb=d2c1b0191844c3c23731158a153838d570dcd65a;p=libfirm diff --git a/ir/be/bestate.h b/ir/be/bestate.h index 42bae846b..de73905fe 100644 --- a/ir/be/bestate.h +++ b/ir/be/bestate.h @@ -1,20 +1,6 @@ /* - * Copyright (C) 1995-2008 University of Karlsruhe. All right reserved. - * * This file is part of libFirm. - * - * This file may be distributed and/or modified under the terms of the - * GNU General Public License version 2 as published by the Free Software - * Foundation and appearing in the file LICENSE.GPL included in the - * packaging of this file. - * - * Licensees holding valid libFirm Professional Edition licenses may use - * this file in accordance with the libFirm Commercial License. - * Agreement provided with the Software. - * - * This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE - * WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR - * PURPOSE. + * Copyright (C) 2012 University of Karlsruhe. */ /** @@ -23,13 +9,11 @@ * 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.h" /** @@ -52,8 +36,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