X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=ir%2Fbe%2Fmips%2Fbearch_mips_t.h;h=afd85abff207865522aa9647698d8142e08c62a5;hb=f7dfa0917a2f0469129bbf9b4c0884d37810abcd;hp=3c45f4c4909cf4c0a1f7848679c1a4bd414886f5;hpb=aebc3c0c980bcc0536ffdc4cb2a545961b5a8b81;p=libfirm diff --git a/ir/be/mips/bearch_mips_t.h b/ir/be/mips/bearch_mips_t.h index 3c45f4c49..afd85abff 100644 --- a/ir/be/mips/bearch_mips_t.h +++ b/ir/be/mips/bearch_mips_t.h @@ -30,7 +30,7 @@ #include "irgopt.h" #include "bearch_mips.h" #include "mips_nodes_attr.h" -#include "../be.h" +#include "be.h" #include "../beemitter.h" #include "set.h" @@ -43,18 +43,16 @@ struct mips_code_gen_t { ir_graph *irg; /**< current irg */ const arch_env_t *arch_env; /**< the arch env */ set *reg_set; /**< set to memorize registers for FIRM nodes (e.g. phi) */ - int emit_decls; /**< flag indicating if decls were already emitted */ mips_isa_t *isa; /**< the isa instance */ - const be_irg_t *birg; /**< The be-irg (contains additional information about the irg) */ + be_irg_t *birg; /**< The be-irg (contains additional information about the irg) */ ir_node **bl_list; /**< The block schedule list. */ survive_dce_t *bl_list_sdce; /**< survive dce environment for the block schedule list */ - DEBUG_ONLY(firm_dbg_module_t *mod;) /**< debugging module */ }; struct mips_isa_t { arch_isa_t arch_isa; /**< must be derived from arch_isa_t */ - - be_emit_env_t emit; + be_emit_env_t emit; /**< An emitter environment for the GAS emitter. */ + mips_code_gen_t *cg; }; struct mips_irn_ops_t { @@ -74,9 +72,6 @@ struct mips_transform_env_t { ir_node *irn; /**< The irn, to be transformed */ ir_mode *mode; /**< The mode of the irn */ mips_code_gen_t *cg; /**< The code generator */ - DEBUG_ONLY(firm_dbg_module_t *mod;) /**< The firm debugger */ }; -ir_node *mips_new_NoReg(mips_code_gen_t *cg); - #endif