Index: src/mips64/macro-assembler-mips64.cc |
diff --git a/src/mips64/macro-assembler-mips64.cc b/src/mips64/macro-assembler-mips64.cc |
index a92528b0c5def51b3e05cb0a7e552c90ceed586b..4d5237bac0c6a5388c9f3a428805641304cb194e 100644 |
--- a/src/mips64/macro-assembler-mips64.cc |
+++ b/src/mips64/macro-assembler-mips64.cc |
@@ -6047,7 +6047,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); |