Index: src/arm/assembler-arm.cc |
diff --git a/src/arm/assembler-arm.cc b/src/arm/assembler-arm.cc |
index ead66741a1bc736d203b50e343c13417609fe4d9..8b4d0076d29e32657c97a8f9a363c561f9a767bb 100644 |
--- a/src/arm/assembler-arm.cc |
+++ b/src/arm/assembler-arm.cc |
@@ -101,42 +101,7 @@ const char* DwVfpRegister::AllocationIndexToString(int index) { |
if (index >= kDoubleRegZero.code()) |
index += kNumReservedRegisters; |
- // TODO(hans): Maybe this could just use VFPRegisters::Name()? |
- const char* const names[] = { |
- "d0", |
- "d1", |
- "d2", |
- "d3", |
- "d4", |
- "d5", |
- "d6", |
- "d7", |
- "d8", |
- "d9", |
- "d10", |
- "d11", |
- "d12", |
- "d13" |
- "d14", |
- "d15", |
- "d16", |
- "d17", |
- "d18", |
- "d19", |
- "d20", |
- "d21", |
- "d22", |
- "d23", |
- "d24", |
- "d25", |
- "d26", |
- "d27", |
- "d28", |
- "d29", |
- "d30", |
- "d31" |
- }; |
- return names[index]; |
+ return VFPRegisters::Name(index, true); |
} else { |
ASSERT(index == 0); |
return "sfpd0"; |