Index: runtime/vm/disassembler_arm.cc |
diff --git a/runtime/vm/disassembler_arm.cc b/runtime/vm/disassembler_arm.cc |
index 26d535361a6776d4e46513799c441b613290f3af..a544e3cf9e9d594b2110f282bfcfe42d68a3c4f2 100644 |
--- a/runtime/vm/disassembler_arm.cc |
+++ b/runtime/vm/disassembler_arm.cc |
@@ -112,8 +112,13 @@ void ARMDecoder::PrintCondition(Instr* instr) { |
// formatting, except for register alias pp (r5). |
// See for example the command "objdump -d <binary file>". |
static const char* reg_names[kNumberOfCpuRegisters] = { |
+#if defined(TARGET_OS_MACOS) |
+ "r0", "r1", "r2", "r3", "r4", "pp", "r6", "fp", |
+ "r8", "r9", "r10", "r11", "ip", "sp", "lr", "pc", |
+#else |
"r0", "r1", "r2", "r3", "r4", "pp", "r6", "r7", |
"r8", "r9", "r10", "fp", "ip", "sp", "lr", "pc", |
+#endif |
}; |