Whitespace changes (?) --flo
[libfirm] / ir / common / common.h
index 746569b..8f400de 100644 (file)
 # ifndef _COMMON_H_
 # define _COMMON_H_
 
-/** Global flags.  Set these by autoconf?? **/
-
-/* When set Phi node constructino 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_EXPICIT_PHI_IN_STACK 1
-
-/* If this is defined debuging aids are created, e.g. a field in
-   ir_node uniquely numbering the nodes.
-   Warum war das auskommentiert?? (--enable-debug hat das nicht gesetzt.
-   #define DEBUG_libfirm 1
- * this is now set by the configure script as an option
- * use
-#ifdef HAVE_CONFIG_H
-# include <config.h>
-#endif
- * instead
- */
-
-/* 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 0
-
 /* a list of firm kinds */
 typedef enum {
   k_entity,
@@ -56,22 +19,10 @@ typedef enum {
   k_ir_node
 } firm_kind;
 
-#if 0
-  k_type_class,
-  k_type_strct,
-  k_type_method,
-  k_type_union,
-  k_type_array,
-  k_type_enumeration,
-  k_type_pointer,
-  k_type_primitive,
-#endif
-
 /* returns the kind of the thing */
 firm_kind get_kind(void *firm_thing);
 
 /* returns a string. */
 const char* print_firm_kind(void *firm_thing);
 
-
 # endif /*_COMMON_H_ */