mirror of https://github.com/lukechilds/node.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
30 lines
585 B
30 lines
585 B
11 years ago
|
// Copyright 2013 the V8 project authors. All rights reserved.
|
||
|
// Use of this source code is governed by a BSD-style license that can be
|
||
|
// found in the LICENSE file.
|
||
|
|
||
|
#ifndef V8_COMPILER_GRAPH_VISUALIZER_H_
|
||
|
#define V8_COMPILER_GRAPH_VISUALIZER_H_
|
||
|
|
||
|
#include "src/v8.h"
|
||
|
|
||
|
namespace v8 {
|
||
|
namespace internal {
|
||
|
|
||
|
class OStream;
|
||
|
|
||
|
namespace compiler {
|
||
|
|
||
|
class Graph;
|
||
|
|
||
|
struct AsDOT {
|
||
|
explicit AsDOT(const Graph& g) : graph(g) {}
|
||
|
const Graph& graph;
|
||
|
};
|
||
|
|
||
|
OStream& operator<<(OStream& os, const AsDOT& ad);
|
||
|
}
|
||
|
}
|
||
|
} // namespace v8::internal::compiler
|
||
|
|
||
|
#endif // V8_COMPILER_GRAPH_VISUALIZER_H_
|