blob: 12532bacf8bbbe4c1f6d3f15c80a177ba1f7bfdf [file] [log] [blame]
Ben Murdochb8a8cc12014-11-26 15:28:44 +00001// Copyright 2013 the V8 project authors. All rights reserved.
2// Use of this source code is governed by a BSD-style license that can be
3// found in the LICENSE file.
4
5#ifndef V8_COMPILER_GRAPH_VISUALIZER_H_
6#define V8_COMPILER_GRAPH_VISUALIZER_H_
7
8#include "src/v8.h"
9
10namespace v8 {
11namespace internal {
12
13class OStream;
14
15namespace compiler {
16
17class Graph;
18
19struct AsDOT {
20 explicit AsDOT(const Graph& g) : graph(g) {}
21 const Graph& graph;
22};
23
24OStream& operator<<(OStream& os, const AsDOT& ad);
25}
26}
27} // namespace v8::internal::compiler
28
29#endif // V8_COMPILER_GRAPH_VISUALIZER_H_