added include for harness.c
[libfirm] / ir / be / ia32 / bearch_ia32_t.h
index f8b1895..0d8c935 100644 (file)
@@ -9,6 +9,12 @@
 #include "set.h"
 #include "../be.h"
 
+#ifdef NDEBUG
+#define SET_IA32_ORIG_NODE(n, o)
+#else
+#define SET_IA32_ORIG_NODE(n, o) set_ia32_orig_node(n, o);
+#endif /* NDEBUG */
+
 /* some typedefs */
 
 /**
@@ -37,7 +43,6 @@ typedef struct _ia32_code_gen_t {
        FILE                           *out;           /**< output file */
        const arch_env_t               *arch_env;      /**< the arch env */
        set                            *reg_set;       /**< set to memorize registers for non-ia32 nodes (e.g. phi nodes) */
-       firm_dbg_module_t              *mod;           /**< debugging module */
        int                             emit_decls;    /**< flag indicating if decls were already emitted */
        pmap                           *types;         /**< A map of modes to primitive types */
        pmap                           *tv_ent;        /**< A map of entities that store tarvals */
@@ -45,6 +50,8 @@ typedef struct _ia32_code_gen_t {
        ir_node                        **blk_sched;    /**< an array containing the scheduled blocks */
        ia32_optimize_t                 opt;           /**< contains optimization information */
        char                            fp_kind;       /**< floating point kind */
+       char                            used_x87;      /**< x87 floating point unit used in this graph */
+       DEBUG_ONLY(firm_dbg_module_t   *mod;)          /**< debugging module */
 } ia32_code_gen_t;
 
 typedef struct _ia32_isa_t {
@@ -70,13 +77,13 @@ typedef struct _ia32_irn_ops_t {
 /* this is a struct to minimize the number of parameters
    for transformation walker */
 typedef struct _ia32_transform_env_t {
-       firm_dbg_module_t *mod;        /**< The firm debugger */
        dbg_info          *dbg;        /**< The node debug info */
        ir_graph          *irg;        /**< The irg, the node should be created in */
        ir_node           *block;      /**< The block, the node should belong to */
        ir_node           *irn;        /**< The irn, to be transformed */
        ir_mode           *mode;       /**< The mode of the irn */
        ia32_code_gen_t   *cg;         /**< The code generator */
+       DEBUG_ONLY(firm_dbg_module_t *mod;) /**< The firm debugger */
 } ia32_transform_env_t;
 
 /**