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

Unified Diff: test/unittests/compiler/register-allocator-unittest.cc

Issue 2433093002: MIPS: Fix bad RegisterConfiguration usage in InstructionSequence unit tests. (Closed)
Patch Set: Rebase to master Created 4 years, 1 month 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 | « test/unittests/compiler/instruction-sequence-unittest.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/unittests/compiler/register-allocator-unittest.cc
diff --git a/test/unittests/compiler/register-allocator-unittest.cc b/test/unittests/compiler/register-allocator-unittest.cc
index ed3558dc609606daaf366e83e02cbb704147a6ec..0533ee74069af3c783ee66e81f6d7b893381b30a 100644
--- a/test/unittests/compiler/register-allocator-unittest.cc
+++ b/test/unittests/compiler/register-allocator-unittest.cc
@@ -321,11 +321,11 @@ TEST_F(RegisterAllocatorTest, SpillPhi) {
EndBlock(Branch(Imm(), 1, 2));
StartBlock();
- auto left = Define(Reg(0));
+ auto left = Define(Reg(GetAllocatableCode(0)));
EndBlock(Jump(2));
StartBlock();
- auto right = Define(Reg(0));
+ auto right = Define(Reg(GetAllocatableCode(0)));
EndBlock();
StartBlock();
« no previous file with comments | « test/unittests/compiler/instruction-sequence-unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698