Index: src/ppc/disasm-ppc.cc |
diff --git a/src/ppc/disasm-ppc.cc b/src/ppc/disasm-ppc.cc |
index 5d7de8a0b4287ecb7468e19e5ed00f73a5d5d9e5..9ea1dc05a8daef98a0592d38adf11111d66baca4 100644 |
--- a/src/ppc/disasm-ppc.cc |
+++ b/src/ppc/disasm-ppc.cc |
@@ -116,7 +116,9 @@ void Decoder::PrintRegister(int reg) { |
// Print the double FP register name according to the active name converter. |
-void Decoder::PrintDRegister(int reg) { Print(FPRegisters::Name(reg)); } |
+void Decoder::PrintDRegister(int reg) { |
+ Print(DoubleRegister::from_code(reg).ToString()); |
+} |
// Print SoftwareInterrupt codes. Factoring this out reduces the complexity of |
@@ -1349,7 +1351,7 @@ const char* NameConverter::NameOfConstant(byte* addr) const { |
const char* NameConverter::NameOfCPURegister(int reg) const { |
- return v8::internal::Registers::Name(reg); |
+ return v8::internal::Register::from_code(reg).ToString(); |
} |
const char* NameConverter::NameOfByteCPURegister(int reg) const { |