- Reworked backends to put out register_requirements into backend_info_t
[libfirm] / ir / be / TEMPLATE / bearch_TEMPLATE_t.h
index 5c99530..8ae81ec 100644 (file)
@@ -26,7 +26,6 @@
 #define FIRM_BE_TEMPLATE_BEARCH_TEMPLATE_T_H
 
 #include "debug.h"
-#include "bearch_TEMPLATE.h"
 #include "TEMPLATE_nodes_attr.h"
 #include "be.h"
 #include "../beemitter.h"
@@ -39,14 +38,12 @@ typedef struct TEMPLATE_transform_env_t  TEMPLATE_transform_env_t;
 struct TEMPLATE_code_gen_t {
        const arch_code_generator_if_t *impl;           /**< implementation */
        ir_graph                       *irg;            /**< current irg */
-       set                            *reg_set;        /**< set to memorize registers for FIRM nodes (e.g. phi) */
        TEMPLATE_isa_t                 *isa;            /**< the isa instance */
        const be_irg_t                 *birg;           /**< The be-irg (contains additional information about the irg) */
-       DEBUG_ONLY(firm_dbg_module_t   *mod;)           /**< debugging module */
 };
 
 struct TEMPLATE_isa_t {
-       arch_env_t             arch_env;      /**< must be derived from arch_isa */
+       arch_env_t  arch_env;      /**< must be derived from arch_isa */
 };
 
 /**
@@ -54,12 +51,11 @@ struct TEMPLATE_isa_t {
  * for transformation walker
  */
 struct TEMPLATE_transform_env_t {
-       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 */
-       DEBUG_ONLY(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 */
 };
 
 #endif