Index: src/arm/macro-assembler-arm.cc |
diff --git a/src/arm/macro-assembler-arm.cc b/src/arm/macro-assembler-arm.cc |
index d8df4cda5cfcb4bdf2b5f37ff6a4626ae5de4352..4feadb7350af05247cb001654c7e71590e8fc63b 100644 |
--- a/src/arm/macro-assembler-arm.cc |
+++ b/src/arm/macro-assembler-arm.cc |
@@ -862,8 +862,7 @@ MemOperand MacroAssembler::SafepointRegistersAndDoublesSlot(Register reg) { |
// Number of d-regs not known at snapshot time. |
DCHECK(!serializer_enabled()); |
// General purpose registers are pushed last on the stack. |
- const RegisterConfiguration* config = |
- RegisterConfiguration::ArchDefault(RegisterConfiguration::CRANKSHAFT); |
+ const RegisterConfiguration* config = RegisterConfiguration::Crankshaft(); |
int doubles_size = config->num_allocatable_double_registers() * kDoubleSize; |
int register_offset = SafepointRegisterStackIndex(reg.code()) * kPointerSize; |
return MemOperand(sp, doubles_size + register_offset); |
@@ -3891,8 +3890,7 @@ Register GetRegisterThatIsNotOneOf(Register reg1, |
if (reg5.is_valid()) regs |= reg5.bit(); |
if (reg6.is_valid()) regs |= reg6.bit(); |
- const RegisterConfiguration* config = |
- RegisterConfiguration::ArchDefault(RegisterConfiguration::CRANKSHAFT); |
+ const RegisterConfiguration* config = RegisterConfiguration::Crankshaft(); |
for (int i = 0; i < config->num_allocatable_general_registers(); ++i) { |
int code = config->GetAllocatableGeneralCode(i); |
Register candidate = Register::from_code(code); |