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

Unified Diff: test/unittests/compiler/diamond-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/diamond-unittest.cc
diff --git a/test/unittests/compiler/diamond-unittest.cc b/test/unittests/compiler/diamond-unittest.cc
index 50c50d4e696093f93997f2dd7672b2721a46d383..5b28a001ef917dd58f633f4b1104d811b69e0f22 100644
--- a/test/unittests/compiler/diamond-unittest.cc
+++ b/test/unittests/compiler/diamond-unittest.cc
@@ -114,7 +114,8 @@ TEST_F(DiamondTest, DiamondPhis) {
Node* p2 = Parameter(2);
Diamond d(graph(), common(), p0);
- MachineType types[] = {kMachAnyTagged, kMachUint32, kMachInt32};
+ MachineRepresentation types[] = {MachineRepresentation::kTagged,
+ MachineRepresentation::kWord32};
for (size_t i = 0; i < arraysize(types); i++) {
Node* phi = d.Phi(types[i], p1, p2);
« no previous file with comments | « test/unittests/compiler/dead-code-elimination-unittest.cc ('k') | test/unittests/compiler/escape-analysis-unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698