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

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

Issue 2451853002: Uniform and precise source positions for inlining (Closed)
Patch Set: fixed gcmole issue Created 4 years, 1 month 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
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/compiler/common-operator.h" 5 #include "src/compiler/common-operator.h"
6 #include "src/compiler/compiler-source-position-table.h"
7 #include "src/compiler/graph-visualizer.h"
6 #include "src/compiler/graph.h" 8 #include "src/compiler/graph.h"
7 #include "src/compiler/graph-visualizer.h"
8 #include "src/compiler/js-operator.h" 9 #include "src/compiler/js-operator.h"
9 #include "src/compiler/machine-operator.h" 10 #include "src/compiler/machine-operator.h"
10 #include "src/compiler/node.h" 11 #include "src/compiler/node.h"
11 #include "src/compiler/operator.h" 12 #include "src/compiler/operator.h"
12 #include "src/compiler/schedule.h" 13 #include "src/compiler/schedule.h"
13 #include "src/compiler/scheduler.h" 14 #include "src/compiler/scheduler.h"
14 #include "src/compiler/source-position.h"
15 #include "src/compiler/verifier.h" 15 #include "src/compiler/verifier.h"
16 #include "test/cctest/cctest.h" 16 #include "test/cctest/cctest.h"
17 17
18 namespace v8 { 18 namespace v8 {
19 namespace internal { 19 namespace internal {
20 namespace compiler { 20 namespace compiler {
21 21
22 static Operator dummy_operator1(IrOpcode::kParameter, Operator::kNoWrite, 22 static Operator dummy_operator1(IrOpcode::kParameter, Operator::kNoWrite,
23 "dummy", 1, 0, 0, 1, 0, 0); 23 "dummy", 1, 0, 0, 1, 0, 0);
24 static Operator dummy_operator6(IrOpcode::kParameter, Operator::kNoWrite, 24 static Operator dummy_operator6(IrOpcode::kParameter, Operator::kNoWrite,
(...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after
121 graph.SetEnd(end); 121 graph.SetEnd(end);
122 122
123 OFStream os(stdout); 123 OFStream os(stdout);
124 SourcePositionTable table(&graph); 124 SourcePositionTable table(&graph);
125 os << AsJSON(graph, &table); 125 os << AsJSON(graph, &table);
126 } 126 }
127 127
128 } // namespace compiler 128 } // namespace compiler
129 } // namespace internal 129 } // namespace internal
130 } // namespace v8 130 } // namespace v8
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698