Removed C99 features and fixed 2 wrong assertions.
[libfirm] / ir / be / arm / bearch_arm_t.h
index e4bb8a2..a136787 100644 (file)
@@ -139,7 +139,6 @@ enum arm_processor_types {
 typedef struct _arm_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) */
        arm_isa_t                      *isa;            /**< the isa instance */
        be_irg_t                       *birg;           /**< The be-irg (contains additional information about the irg) */
@@ -153,7 +152,7 @@ typedef struct _arm_code_gen_t {
 
 
 struct _arm_isa_t {
-       arch_isa_t     arch_isa;      /**< must be derived from arch_isa_t */
+       arch_env_t     arch_env;      /**< must be derived from arch_env_t */
        int            gen_reg_names; /**< use generic register names instead of SP, LR, PC */
        int            fpu_arch;      /**< FPU architecture */
        arm_code_gen_t *cg;           /**< current code generator */