X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=ir%2Fopt%2Ftailrec.h;h=1f0ca15dfc0d4aa05e9d1d7407db6f07708f4b6f;hb=cd4e22d1a782b4782d85c83c7390561bb3afa5ed;hp=0c553c9c56051d9d1200f08d2af0dee0367e3c47;hpb=863d31d7a5c8210432fef88b30fc3e8353131538;p=libfirm diff --git a/ir/opt/tailrec.h b/ir/opt/tailrec.h index 0c553c9c5..1f0ca15df 100644 --- a/ir/opt/tailrec.h +++ b/ir/opt/tailrec.h @@ -1,26 +1,33 @@ /* - * Project: libFIRM - * File name: ir/opt/tailrec.h - * Purpose: Tail-recursion call optimization. - * Author: Michael Beck - * Created: 08.06.2004 - * CVS-ID: $Id$ - * Copyright: (c) 1998-2004 Universität Karlsruhe - * Licence: This file protected by GPL - GNU GENERAL PUBLIC LICENSE. - */ - -/** - * @file tailrec.h + * Copyright (C) 1995-2007 University of Karlsruhe. All right reserved. + * + * This file is part of libFirm. * - * Tail-recursion call optimization. + * 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. * - * @author Michael Beck + * 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. */ -# ifndef _TAILREC_H_ -# define _TAILREC_H_ +/** + * @file + * @brief Tail-recursion call optimization. + * @date 08.06.2004 + * @author Michael Beck + * @version $Id$ + */ +#ifndef FIRM_OPT_TAILREC_H +#define FIRM_OPT_TAILREC_H -# include "irgraph.h" +#include "firm_types.h" /** * Optimizes simple tail-recursion calls by @@ -36,7 +43,8 @@ int opt_tail_rec_irg(ir_graph *irg); /* * Optimize tail-recursion calls for all IR-Graphs. + * Depends on the flag opt_tail_recursion. */ void opt_tail_recursion(void); -# endif /* _TAILREC_H_ */ +# endif /* FIRM_OPT_TAILREC_H */