Index: test/cctest/compiler/test-gap-resolver.cc |
diff --git a/test/cctest/compiler/test-gap-resolver.cc b/test/cctest/compiler/test-gap-resolver.cc |
index 9180f13afc11c353a1e5f734c9c63ca07de454a4..10f4400d4f01cf631b25a6ce54b687b12fb5d046 100644 |
--- a/test/cctest/compiler/test-gap-resolver.cc |
+++ b/test/cctest/compiler/test-gap-resolver.cc |
@@ -213,10 +213,15 @@ class ParallelMoveCreator : public HandleAndZoneScope { |
return AllocatedOperand(LocationOperand::REGISTER, RandomDoubleType(), |
index); |
case 4: |
- return ExplicitOperand(LocationOperand::REGISTER, RandomType(), 1); |
+ return ExplicitOperand( |
+ LocationOperand::REGISTER, RandomType(), |
+ RegisterConfiguration::ArchDefault(RegisterConfiguration::TURBOFAN) |
+ ->GetAllocatableGeneralCode(1)); |
case 5: |
- return ExplicitOperand(LocationOperand::STACK_SLOT, RandomType(), |
- index); |
+ return ExplicitOperand( |
+ LocationOperand::STACK_SLOT, RandomType(), |
+ RegisterConfiguration::ArchDefault(RegisterConfiguration::TURBOFAN) |
+ ->GetAllocatableGeneralCode(index)); |
case 6: |
return ConstantOperand(index); |
} |