Reuse already fetched values.
[libfirm] / ir / be / ppc32 / bearch_ppc32_t.h
index 6211511..0b078c1 100644 (file)
@@ -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.
  *
@@ -39,7 +39,6 @@ typedef struct _ppc32_isa_t ppc32_isa_t;
 typedef struct _ppc32_code_gen_t {
        const arch_code_generator_if_t *impl;             /**< implementation */
        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) */
        ppc32_isa_t                    *isa;              /**< the isa instance */
        be_irg_t                       *birg;             /**< The be-irg (contains additional information about the irg) */
@@ -52,18 +51,11 @@ typedef struct _ppc32_code_gen_t {
 
 
 struct _ppc32_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. */
+       arch_env_t             arch_env;      /**< must be derived from arch_env_t */
        pset                   *symbol_set;   /**< A set containing the indirect symbols. */
 };
 
 
-typedef struct _ppc32_irn_ops_t {
-       const arch_irn_ops_if_t *impl;
-       ppc32_code_gen_t     *cg;
-} ppc32_irn_ops_t;
-
-
 /** this is a struct to minimize the number of parameters
    for transformation walker */
 typedef struct _ppc32_transform_env_t {