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

Unified Diff: test/unittests/compiler/move-optimizer-unittest.cc

Issue 1513543003: [turbofan] Make MachineType a pair of enums. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Moar rebase Created 5 years 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
Index: test/unittests/compiler/move-optimizer-unittest.cc
diff --git a/test/unittests/compiler/move-optimizer-unittest.cc b/test/unittests/compiler/move-optimizer-unittest.cc
index 66eb9abc4f802b17e70df84c1dbf97b58f3f6244..413c58b6feb48684bd1a50974896e219ef3326d6 100644
--- a/test/unittests/compiler/move-optimizer-unittest.cc
+++ b/test/unittests/compiler/move-optimizer-unittest.cc
@@ -67,16 +67,16 @@ class MoveOptimizerTest : public InstructionSequenceTest {
case kConstant:
return ConstantOperand(op.value_);
case kFixedSlot:
- return AllocatedOperand(LocationOperand::STACK_SLOT, kRepWord32,
- op.value_);
+ return AllocatedOperand(LocationOperand::STACK_SLOT,
+ MachineRepresentation::kWord32, op.value_);
case kFixedRegister:
CHECK(0 <= op.value_ && op.value_ < num_general_registers());
- return AllocatedOperand(LocationOperand::REGISTER, kRepWord32,
- op.value_);
+ return AllocatedOperand(LocationOperand::REGISTER,
+ MachineRepresentation::kWord32, op.value_);
case kExplicit:
CHECK(0 <= op.value_ && op.value_ < num_general_registers());
- return ExplicitOperand(LocationOperand::REGISTER, kRepWord32,
- op.value_);
+ return ExplicitOperand(LocationOperand::REGISTER,
+ MachineRepresentation::kWord32, op.value_);
default:
break;
}
« no previous file with comments | « test/unittests/compiler/mips64/instruction-selector-mips64-unittest.cc ('k') | test/unittests/compiler/node-test-utils.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698