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

Side by Side Diff: test/cctest/compiler/test-graph-visualizer.cc

Issue 756073004: De-generify the GenericNode. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Fix compilation on Windows. Created 6 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 unified diff | Download patch
« no previous file with comments | « test/cctest/compiler/test-graph-reducer.cc ('k') | test/cctest/compiler/test-linkage.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 the V8 project authors. All rights reserved. 1 // Copyright 2014 the V8 project authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "src/v8.h" 5 #include "src/v8.h"
6 #include "test/cctest/cctest.h" 6 #include "test/cctest/cctest.h"
7 7
8 #include "src/compiler/common-operator.h" 8 #include "src/compiler/common-operator.h"
9 #include "src/compiler/generic-node-inl.h"
10 #include "src/compiler/generic-node.h"
11 #include "src/compiler/graph.h" 9 #include "src/compiler/graph.h"
12 #include "src/compiler/graph-visualizer.h" 10 #include "src/compiler/graph-visualizer.h"
13 #include "src/compiler/js-operator.h" 11 #include "src/compiler/js-operator.h"
14 #include "src/compiler/machine-operator.h" 12 #include "src/compiler/machine-operator.h"
15 #include "src/compiler/node.h" 13 #include "src/compiler/node.h"
16 #include "src/compiler/operator.h" 14 #include "src/compiler/operator.h"
17 #include "src/compiler/schedule.h" 15 #include "src/compiler/schedule.h"
18 #include "src/compiler/scheduler.h" 16 #include "src/compiler/scheduler.h"
19 #include "src/compiler/verifier.h" 17 #include "src/compiler/verifier.h"
20 18
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after
83 Node* start = graph.NewNode(common.Start(0)); 81 Node* start = graph.NewNode(common.Start(0));
84 graph.SetStart(start); 82 graph.SetStart(start);
85 Node* merge = graph.NewNode(common.Merge(2), start, start); 83 Node* merge = graph.NewNode(common.Merge(2), start, start);
86 merge->ReplaceInput(1, NULL); 84 merge->ReplaceInput(1, NULL);
87 graph.SetEnd(merge); 85 graph.SetEnd(merge);
88 86
89 OFStream os(stdout); 87 OFStream os(stdout);
90 os << AsDOT(graph); 88 os << AsDOT(graph);
91 os << AsJSON(graph); 89 os << AsJSON(graph);
92 } 90 }
OLDNEW
« no previous file with comments | « test/cctest/compiler/test-graph-reducer.cc ('k') | test/cctest/compiler/test-linkage.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698