Index: test/cctest/test-code-stubs-mips64.cc |
diff --git a/test/cctest/test-code-stubs-mips64.cc b/test/cctest/test-code-stubs-mips64.cc |
index fde2d07a9c12864b3096b9e9d7d9dec8daa3cbb6..929c4c326ca955b98acf04f3ab4d3f9e2dca1e31 100644 |
--- a/test/cctest/test-code-stubs-mips64.cc |
+++ b/test/cctest/test-code-stubs-mips64.cc |
@@ -80,7 +80,8 @@ ConvertDToIFunc MakeConvertDToIFuncTrampoline(Isolate* isolate, |
// Save registers make sure they don't get clobbered. |
int source_reg_offset = kDoubleSize; |
int reg_num = 2; |
- const RegisterConfiguration* config = RegisterConfiguration::ArchDefault(); |
+ const RegisterConfiguration* config = |
+ RegisterConfiguration::ArchDefault(RegisterConfiguration::CRANKSHAFT); |
for (; reg_num < config->num_allocatable_general_registers(); ++reg_num) { |
Register reg = Register::from_code(reg_num); |
if (!reg.is(destination_reg)) { |