set the isa right
authorMichael Beck <beck@ipd.info.uni-karlsruhe.de>
Tue, 11 Mar 2008 23:53:54 +0000 (23:53 +0000)
committerMichael Beck <beck@ipd.info.uni-karlsruhe.de>
Tue, 11 Mar 2008 23:53:54 +0000 (23:53 +0000)
[r18091]

ir/be/arm/arm_emitter.c

index 53be018..5294070 100644 (file)
@@ -1164,10 +1164,10 @@ void arm_gen_routine(const arm_code_gen_t *arm_cg, ir_graph *irg) {
        ir_node *last_block = NULL;
 
        cg        = arm_cg;
+       isa       = (const arm_isa_t *)cg->arch_env->isa;
        arch_env  = cg->arch_env;
        sym_or_tv = new_set(cmp_sym_or_tv, 8);
 
-
        arm_register_emitters();
 
        /* create the block schedule. For now, we don't need it earlier. */