Index: src/arm/disasm-arm.cc |
diff --git a/src/arm/disasm-arm.cc b/src/arm/disasm-arm.cc |
index 054cb2c1cff5b0a79e74394d27c393fd8c2f5a41..1bb33fa0e82d347653b3ccc45f40c7a8868b4248 100644 |
--- a/src/arm/disasm-arm.cc |
+++ b/src/arm/disasm-arm.cc |
@@ -40,6 +40,7 @@ |
namespace v8 { |
namespace internal { |
+const auto GetRegConfig = RegisterConfiguration::Crankshaft; |
//------------------------------------------------------------------------------ |
@@ -2059,7 +2060,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); |
} |