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

Unified Diff: test/cctest/compiler/graph-tester.h

Issue 437183002: Make start node a value input to parameter nodes. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Add start node as input to parameter nodes. Created 6 years, 4 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 | « test/cctest/compiler/graph-builder-tester.cc ('k') | test/cctest/compiler/simplified-graph-builder.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/cctest/compiler/graph-tester.h
diff --git a/test/cctest/compiler/graph-tester.h b/test/cctest/compiler/graph-tester.h
index 41dfa07345ae94389c2f3e83a555eff574d3f74b..e56924540b386be5426cbb91565c765fba7da699 100644
--- a/test/cctest/compiler/graph-tester.h
+++ b/test/cctest/compiler/graph-tester.h
@@ -23,8 +23,9 @@ class GraphTester : public HandleAndZoneScope, public Graph {
class GraphWithStartNodeTester : public GraphTester {
public:
- GraphWithStartNodeTester()
- : builder_(main_zone()), start_node_(NewNode(builder_.Start())) {
+ explicit GraphWithStartNodeTester(int num_parameters = 0)
+ : builder_(main_zone()),
+ start_node_(NewNode(builder_.Start(num_parameters))) {
SetStart(start_node_);
}
« no previous file with comments | « test/cctest/compiler/graph-builder-tester.cc ('k') | test/cctest/compiler/simplified-graph-builder.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698