| Index: src/ppc/disasm-ppc.cc
|
| diff --git a/src/ppc/disasm-ppc.cc b/src/ppc/disasm-ppc.cc
|
| index 7d4e378d47ffab57403809b081875ad83e194ff3..c0a02a8b9c55d2552626e7cf33f6cdef48b07610 100644
|
| --- a/src/ppc/disasm-ppc.cc
|
| +++ b/src/ppc/disasm-ppc.cc
|
| @@ -39,6 +39,7 @@
|
| namespace v8 {
|
| namespace internal {
|
|
|
| +const auto GetRegConfig = RegisterConfiguration::Crankshaft;
|
|
|
| //------------------------------------------------------------------------------
|
|
|
| @@ -118,7 +119,7 @@ void Decoder::PrintRegister(int reg) {
|
|
|
| // Print the double FP register name according to the active name converter.
|
| void Decoder::PrintDRegister(int reg) {
|
| - Print(DoubleRegister::from_code(reg).ToString());
|
| + Print(GetRegConfig()->GetDoubleRegisterName(reg));
|
| }
|
|
|
|
|
| @@ -1412,7 +1413,7 @@ const char* NameConverter::NameOfConstant(byte* addr) const {
|
|
|
|
|
| const char* NameConverter::NameOfCPURegister(int reg) const {
|
| - return v8::internal::Register::from_code(reg).ToString();
|
| + return v8::internal::GetRegConfig()->GetGeneralRegisterName(reg);
|
| }
|
|
|
| const char* NameConverter::NameOfByteCPURegister(int reg) const {
|
|
|