| Index: src/s390/disasm-s390.cc
|
| diff --git a/src/s390/disasm-s390.cc b/src/s390/disasm-s390.cc
|
| index 274d5d95e5418bab40273fe3d3990c32384085d1..d9cf2d33cf75cd0bb591fa54108144f8e8a2887e 100644
|
| --- a/src/s390/disasm-s390.cc
|
| +++ b/src/s390/disasm-s390.cc
|
| @@ -37,6 +37,8 @@
|
| namespace v8 {
|
| namespace internal {
|
|
|
| +const auto GetRegConfig = RegisterConfiguration::Crankshaft;
|
| +
|
| //------------------------------------------------------------------------------
|
|
|
| // Decoder decodes and disassembles instructions into an output buffer.
|
| @@ -111,7 +113,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));
|
| }
|
|
|
| // Print SoftwareInterrupt codes. Factoring this out reduces the complexity of
|
| @@ -1366,7 +1368,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 {
|
|
|