- C99 features removed
authorMichael Beck <beck@ipd.info.uni-karlsruhe.de>
Thu, 6 Nov 2008 13:46:02 +0000 (13:46 +0000)
committerMichael Beck <beck@ipd.info.uni-karlsruhe.de>
Thu, 6 Nov 2008 13:46:02 +0000 (13:46 +0000)
[r23481]

ir/be/ia32/ia32_emitter.c

index 7f88a83..81c58e5 100644 (file)
@@ -1524,11 +1524,11 @@ static void emit_ia32_Conv_I2I(const ir_node *node)
        ir_mode *smaller_mode = get_ia32_ls_mode(node);
        int      smaller_bits = get_mode_size_bits(smaller_mode);
        int      signed_mode  = mode_is_signed(smaller_mode);
+       const arch_register_t *eax = &ia32_gp_regs[REG_EAX];
 
        assert(!mode_is_float(smaller_mode));
        assert(smaller_bits == 8 || smaller_bits == 16);
 
-       const arch_register_t *eax = &ia32_gp_regs[REG_EAX];
        if (signed_mode                      &&
                        smaller_bits == 16               &&
                        ia32_cg_config.use_short_sex_eax &&