bechordal: Remove the parameter iteration, which is always 0, from post_spill().
[libfirm] / ir / be / arm / arm_emitter.c
index 2bdb841..4558bc5 100644 (file)
@@ -64,7 +64,7 @@ static arm_isa_t *isa;
 
 static void arm_emit_register(const arch_register_t *reg)
 {
-       be_emit_string(arch_register_get_name(reg));
+       be_emit_string(reg->name);
 }
 
 static void arm_emit_source_register(const ir_node *node, int pos)
@@ -387,7 +387,7 @@ void arm_emitf(const ir_node *node, const char *format, ...)
 
                default:
 unknown:
-                       panic("unknown format conversion in arm_emitf()");
+                       panic("unknown format conversion");
                }
        }
        va_end(ap);
@@ -623,12 +623,12 @@ static void emit_be_Copy(const ir_node *irn)
                if (USE_FPA(isa)) {
                        arm_emitf(irn, "mvf %D0, %S0");
                } else {
-                       panic("emit_be_Copy: move not supported for this mode");
+                       panic("move not supported for this mode");
                }
        } else if (mode_is_data(mode)) {
                arm_emitf(irn, "mov %D0, %S0");
        } else {
-               panic("emit_be_Copy: move not supported for this mode");
+               panic("move not supported for this mode");
        }
 }