3 * File name: ir/common/firm_common.c
4 * Purpose: Internal preprocessor directives.
5 * Author: Goetz Lindenmaier
9 * Copyright: (c) 1999-2003 Universität Karlsruhe
10 * Licence: This file protected by GPL - GNU GENERAL PUBLIC LICENSE.
14 * @file firm_common_t.h
18 * @author Goetz Lindenmaier
24 #include "firm_common.h"
26 /* --- Global flags. Set these by autoconf?? --- */
28 /** When set Phi node construction uses the values valid when the fragile
29 operation is executed. Else it uses the values valid at the end of the
30 block with the fragile operation. */
31 #define PRECISE_EXC_CONTEXT 1
33 /** There are two implementations of the Phi node construction. The first
34 is faster, but does not work for blocks with more than 2 predecessors.
35 The second works always but is slower and causes more unnecessary Phi
37 Select the implementations by the following preprocessor flag: */
38 #define USE_FAST_PHI_CONSTRUCTION 0
40 /** Further there are two versions of the fast Phi node construction.
41 If the following flag is set, new_r_Phi_in uses an explicit stack for
42 allocating and deallocating Phi nodes. Else it uses the obstack
44 #define USE_EXPLICIT_PHI_IN_STACK 0
47 * If this is defined debuging aids are created, e.g. a field in
48 * ir_node uniquely numbering the nodes.
49 * #define DEBUG_libfirm 1
50 * This is now set by the configure script as an option.
56 /** If this and DEBUG_libfirm are defined irdump uses the nodeid numbers as
57 labels for the vcg nodes. This makes the vcg graph better readable.
58 Sometimes it's useful to see the pointer values, though. */
59 #define NODEID_AS_LABEL 1
61 # endif /*_COMMON_T_H_ */