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

Unified Diff: test/cctest/compiler/test-jump-threading.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
« no previous file with comments | « test/cctest/compiler/test-graph-visualizer.cc ('k') | test/cctest/compiler/test-loop-analysis.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/cctest/compiler/test-jump-threading.cc
diff --git a/test/cctest/compiler/test-jump-threading.cc b/test/cctest/compiler/test-jump-threading.cc
index 43ca4aefed4a1654e6c9b1aa891dc6a431c2fc5b..8c02012e0a1d1179b8e84a06e794f3279bf213a0 100644
--- a/test/cctest/compiler/test-jump-threading.cc
+++ b/test/cctest/compiler/test-jump-threading.cc
@@ -57,16 +57,18 @@ class TestCode : public HandleAndZoneScope {
Start();
sequence_.AddInstruction(Instruction::New(main_zone(), kArchNop));
int index = static_cast<int>(sequence_.instructions().size()) - 1;
- AddGapMove(index,
- AllocatedOperand(LocationOperand::REGISTER, kRepWord32, 13),
- AllocatedOperand(LocationOperand::REGISTER, kRepWord32, 13));
+ AddGapMove(index, AllocatedOperand(LocationOperand::REGISTER,
+ MachineRepresentation::kWord32, 13),
+ AllocatedOperand(LocationOperand::REGISTER,
+ MachineRepresentation::kWord32, 13));
}
void NonRedundantMoves() {
Start();
sequence_.AddInstruction(Instruction::New(main_zone(), kArchNop));
int index = static_cast<int>(sequence_.instructions().size()) - 1;
AddGapMove(index, ConstantOperand(11),
- AllocatedOperand(LocationOperand::REGISTER, kRepWord32, 11));
+ AllocatedOperand(LocationOperand::REGISTER,
+ MachineRepresentation::kWord32, 11));
}
void Other() {
Start();
« no previous file with comments | « test/cctest/compiler/test-graph-visualizer.cc ('k') | test/cctest/compiler/test-loop-analysis.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698