Index: test/cctest/compiler/test-run-native-calls.cc |
diff --git a/test/cctest/compiler/test-run-native-calls.cc b/test/cctest/compiler/test-run-native-calls.cc |
index 13901653b5c9ca5040b73169011b4c605128858a..2e255c7729c6c400be1b82def3891103bb327fce 100644 |
--- a/test/cctest/compiler/test-run-native-calls.cc |
+++ b/test/cctest/compiler/test-run-native-calls.cc |
@@ -847,7 +847,7 @@ TEST(Int64Select_registers) { |
TEST(Float32Select_registers) { |
- if (DoubleRegister::kMaxNumAllocatableRegisters < 2) return; |
+ if (RegisterConfiguration::ArchDefault()->num_double_registers() < 2) return; |
int rarray[] = {0}; |
ArgsBuffer<float32>::Sig sig(2); |
@@ -869,7 +869,7 @@ TEST(Float32Select_registers) { |
TEST(Float64Select_registers) { |
- if (DoubleRegister::kMaxNumAllocatableRegisters < 2) return; |
+ if (RegisterConfiguration::ArchDefault()->num_double_registers() < 2) return; |
int rarray[] = {0}; |
ArgsBuffer<float64>::Sig sig(2); |