| OLD | NEW |
| 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 Loading... |
| 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 |
| OLD | NEW |