Index: src/mips/macro-assembler-mips.cc |
diff --git a/src/mips/macro-assembler-mips.cc b/src/mips/macro-assembler-mips.cc |
index a040ab5b0eae05fede61b7c95f3b1a89c4319ce7..b1f7ead8d02aab0521da4f47edbefafb5ff72bc8 100644 |
--- a/src/mips/macro-assembler-mips.cc |
+++ b/src/mips/macro-assembler-mips.cc |
@@ -5779,7 +5779,8 @@ Register GetRegisterThatIsNotOneOf(Register reg1, |
if (reg5.is_valid()) regs |= reg5.bit(); |
if (reg6.is_valid()) regs |= reg6.bit(); |
- const RegisterConfiguration* config = RegisterConfiguration::ArchDefault(); |
+ const RegisterConfiguration* config = |
+ RegisterConfiguration::ArchDefault(RegisterConfiguration::CRANKSHAFT); |
for (int i = 0; i < config->num_allocatable_general_registers(); ++i) { |
int code = config->GetAllocatableGeneralCode(i); |
Register candidate = Register::from_code(code); |