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

Unified Diff: test/cctest/compiler/test-phi-reducer.cc

Issue 545153002: [turbofan] Add MachineType to Phi. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Add test case. Created 6 years, 3 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 | « src/compiler/simplified-lowering.cc ('k') | test/cctest/compiler/test-run-machops.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/cctest/compiler/test-phi-reducer.cc
diff --git a/test/cctest/compiler/test-phi-reducer.cc b/test/cctest/compiler/test-phi-reducer.cc
index a0550f061fc06c6106a1758d4eb6d9fd833a6bd1..7d2fab6727b80ebc93b7d64b1acb1a3912889888 100644
--- a/test/cctest/compiler/test-phi-reducer.cc
+++ b/test/cctest/compiler/test-phi-reducer.cc
@@ -53,27 +53,32 @@ class PhiReducerTester : HandleAndZoneScope {
}
Node* Phi(Node* a) {
- return SetSelfReferences(graph.NewNode(common.Phi(1), a));
+ return SetSelfReferences(graph.NewNode(common.Phi(kMachAnyTagged, 1), a));
}
Node* Phi(Node* a, Node* b) {
- return SetSelfReferences(graph.NewNode(common.Phi(2), a, b));
+ return SetSelfReferences(
+ graph.NewNode(common.Phi(kMachAnyTagged, 2), a, b));
}
Node* Phi(Node* a, Node* b, Node* c) {
- return SetSelfReferences(graph.NewNode(common.Phi(3), a, b, c));
+ return SetSelfReferences(
+ graph.NewNode(common.Phi(kMachAnyTagged, 3), a, b, c));
}
Node* Phi(Node* a, Node* b, Node* c, Node* d) {
- return SetSelfReferences(graph.NewNode(common.Phi(4), a, b, c, d));
+ return SetSelfReferences(
+ graph.NewNode(common.Phi(kMachAnyTagged, 4), a, b, c, d));
}
Node* PhiWithControl(Node* a, Node* control) {
- return SetSelfReferences(graph.NewNode(common.Phi(1), a, control));
+ return SetSelfReferences(
+ graph.NewNode(common.Phi(kMachAnyTagged, 1), a, control));
}
Node* PhiWithControl(Node* a, Node* b, Node* control) {
- return SetSelfReferences(graph.NewNode(common.Phi(2), a, b, control));
+ return SetSelfReferences(
+ graph.NewNode(common.Phi(kMachAnyTagged, 2), a, b, control));
}
Node* SetSelfReferences(Node* node) {
« no previous file with comments | « src/compiler/simplified-lowering.cc ('k') | test/cctest/compiler/test-run-machops.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698