Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(823)

Unified Diff: test/cctest/compiler/test-gap-resolver.cc

Issue 1403373016: Fix debug mode test failures on MIPS and PPC after f1aa5562. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | test/unittests/compiler/move-optimizer-unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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);
}
« no previous file with comments | « no previous file | test/unittests/compiler/move-optimizer-unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698