X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=ir%2Fopt%2Freassoc_t.h;h=9876a0e118e825b88bcb4e1dbb5300eebc5b7cbd;hb=b27ae245166bb695bc4e418ff416d91bc37d0f28;hp=cfa9b9df43c1500c4075a294606ef8a5d12d3bdc;hpb=f667113899d26608e395458858dd22ad780d8beb;p=libfirm diff --git a/ir/opt/reassoc_t.h b/ir/opt/reassoc_t.h index cfa9b9df4..9876a0e11 100644 --- a/ir/opt/reassoc_t.h +++ b/ir/opt/reassoc_t.h @@ -1,3 +1,22 @@ +/* + * 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. + */ + /* * Project: libFIRM * File name: ir/opt/reassoc_t.h @@ -6,7 +25,6 @@ * Created: * CVS-ID: $Id$ * Copyright: (c) 1998-2004 Universität Karlsruhe - * Licence: This file protected by GPL - GNU GENERAL PUBLIC LICENSE. */ /** @@ -16,10 +34,8 @@ * * @author Michael Beck */ -#ifndef _REASSOC_T_H_ -#define _REASSOC_T_H_ - -#include "reassoc.h" +#ifndef REASSOC_T_H +#define REASSOC_T_H /** * Sets the default reassociation operation for an ir_op_ops. @@ -30,9 +46,6 @@ * @return * The operations. */ -ir_op_ops *firm_set_default_reassoc(ir_opcode code, ir_op_ops *ops); - -/** Initialise the ressociation optimization */ -void firm_init_reassociation(void); +ir_op_ops *firm_set_default_reassoc(unsigned code, ir_op_ops *ops); #endif /* _REASSOC_T_H_ */