| 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 // TODO(jochen): Remove this after the setting is turned on globally. | |
| 6 #define V8_IMMINENT_DEPRECATION_WARNINGS | |
| 7 | |
| 8 #include "src/compiler/common-operator.h" | 5 #include "src/compiler/common-operator.h" |
| 9 #include "src/compiler/graph.h" | 6 #include "src/compiler/graph.h" |
| 10 #include "src/compiler/graph-visualizer.h" | 7 #include "src/compiler/graph-visualizer.h" |
| 11 #include "src/compiler/js-operator.h" | 8 #include "src/compiler/js-operator.h" |
| 12 #include "src/compiler/machine-operator.h" | 9 #include "src/compiler/machine-operator.h" |
| 13 #include "src/compiler/node.h" | 10 #include "src/compiler/node.h" |
| 14 #include "src/compiler/operator.h" | 11 #include "src/compiler/operator.h" |
| 15 #include "src/compiler/schedule.h" | 12 #include "src/compiler/schedule.h" |
| 16 #include "src/compiler/scheduler.h" | 13 #include "src/compiler/scheduler.h" |
| 17 #include "src/compiler/source-position.h" | 14 #include "src/compiler/source-position.h" |
| (...skipping 108 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 126 | 123 |
| 127 OFStream os(stdout); | 124 OFStream os(stdout); |
| 128 os << AsDOT(graph); | 125 os << AsDOT(graph); |
| 129 SourcePositionTable table(&graph); | 126 SourcePositionTable table(&graph); |
| 130 os << AsJSON(graph, &table); | 127 os << AsJSON(graph, &table); |
| 131 } | 128 } |
| 132 | 129 |
| 133 } // namespace compiler | 130 } // namespace compiler |
| 134 } // namespace internal | 131 } // namespace internal |
| 135 } // namespace v8 | 132 } // namespace v8 |
| OLD | NEW |