X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=ir%2Fcommon%2Ffirm_common_t.h;h=3c3787997370a395113916ed57639fc8056a825b;hb=0887d4a59b29ff9c398d2961dce95977fd7efe9c;hp=60bb59a2e9fe80e89c5ce5670dba1d186ec22b40;hpb=de3ad6fcd245b88094f28f89284f2d62d4d50d3c;p=libfirm diff --git a/ir/common/firm_common_t.h b/ir/common/firm_common_t.h index 60bb59a2e..3c3787997 100644 --- a/ir/common/firm_common_t.h +++ b/ir/common/firm_common_t.h @@ -1,52 +1,43 @@ -/* Copyright (C) 1998 - 2000 by Universitaet Karlsruhe -* All rights reserved. -* -* Authors: Martin Trapp, Christian Schaefer & -* Goetz Lindenmaier -* -* firm_common_t.h: preprocessor flags -*/ - -/* $Id$ */ +/* + * 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. + */ -# ifndef _COMMON_T_H_ -# define _COMMON_T_H_ +/** + * @file + * @brief Internal preprocessor directives. + * @author Goetz Lindenmaier + * @version $Id$ + */ +#ifndef FIRM_COMMON_COMMON_T_H +#define FIRM_COMMON_COMMON_T_H #include "firm_common.h" -/** Global flags. Set these by autoconf?? **/ +/* --- Global flags. --- */ -/* When set Phi node construction uses the values valid when the fragile - operation is executed. Else it uses the values valid at the end of the - block with the fragile operation. */ +/** When set Phi node construction uses the values valid when the fragile + * operation is executed. Else it uses the values valid at the end of the + * block with the fragile operation. */ #define PRECISE_EXC_CONTEXT 1 -/* There are two implementations of the Phi node construction. The first - is faster, but does not work for blocks with more than 2 predecessors. - The second works always but is slower and causes more unnecessary Phi - nodes. - Select the implementations by the following preprocessor flag: */ -#define USE_FAST_PHI_CONSTRUCTION 0 - -/* Further there are two versions of the fast Phi node construction. - If the following flag is set, new_r_Phi_in uses an explicit stack for - allocating and deallocating Phi nodes. Else it uses the obstack - as a stack! */ -#define USE_EXPLICIT_PHI_IN_STACK 0 - -/* - * If this is defined debuging aids are created, e.g. a field in - * ir_node uniquely numbering the nodes. - * #define DEBUG_libfirm 1 - * This is now set by the configure script as an option. - */ -#ifdef HAVE_CONFIG_H -# include -#endif - -/* If this and DEBUG_libfirm are defined irdump uses the nodeid numbers as - labels for the vcg nodes. This makes the vcg graph better readable. - Sometimes it's useful to see the pointer values, though. */ +/** If this and DEBUG_libfirm are defined irdump uses the nodeid numbers as + * labels for the vcg nodes. This makes the vcg graph better readable. + * Sometimes it's useful to see the pointer values, though. */ #define NODEID_AS_LABEL 1 -# endif /*_COMMON_T_H_ */ +#endif