X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=ir%2Fbe%2Fmips%2Fbearch_mips_t.h;h=06f24381df3fef27ee490b1aaa8a1e3beb52afbb;hb=ccdf802c598f7adc5e35fff42fed029c59f48a57;hp=a9a76c5576207f7b2fe34d9d751345bcd9df4651;hpb=86fe675b2126c88d1417ff62ac31dbb08a709b0e;p=libfirm diff --git a/ir/be/mips/bearch_mips_t.h b/ir/be/mips/bearch_mips_t.h index a9a76c557..06f24381d 100644 --- a/ir/be/mips/bearch_mips_t.h +++ b/ir/be/mips/bearch_mips_t.h @@ -1,5 +1,5 @@ /* - * Copyright (C) 1995-2007 University of Karlsruhe. All right reserved. + * Copyright (C) 1995-2008 University of Karlsruhe. All right reserved. * * This file is part of libFirm. * @@ -30,12 +30,11 @@ #include "irgopt.h" #include "bearch_mips.h" #include "mips_nodes_attr.h" -#include "../be.h" +#include "be.h" #include "../beemitter.h" #include "set.h" typedef struct mips_isa_t mips_isa_t; -typedef struct mips_irn_ops_t mips_irn_ops_t; typedef struct mips_transform_env_t mips_transform_env_t; struct mips_code_gen_t { @@ -43,21 +42,15 @@ 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 */ }; struct mips_isa_t { - arch_isa_t arch_isa; /**< must be derived from arch_isa_t */ - be_emit_env_t emit; /**< An emitter environment for the GAS emitter. */ -}; - -struct mips_irn_ops_t { - const arch_irn_ops_if_t *impl; - mips_code_gen_t *cg; + arch_env_t arch_env; /**< must be derived from arch_env_t */ + mips_code_gen_t *cg; };