diff options
author | David Brazdil <dbrazdil@google.com> | 2014-12-17 16:05:08 +0000 |
---|---|---|
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | 2014-12-17 16:05:09 +0000 |
commit | 44a7f89cff6c93f5a900a02e9fa92613ea2f3f8e (patch) | |
tree | ff19476e5de067dbfbf74b8baea5429494f82a25 /compiler/optimizing/graph_visualizer.h | |
parent | c8a0a055b65a73004a1cd5dfe5beb20eab6307e4 (diff) | |
parent | ee690a3dd364c025ebc1767d9f84097bb7473eec (diff) |
Merge "ART: Added Checker, a pattern matching test engine"
Diffstat (limited to 'compiler/optimizing/graph_visualizer.h')
-rw-r--r-- | compiler/optimizing/graph_visualizer.h | 16 |
1 files changed, 3 insertions, 13 deletions
diff --git a/compiler/optimizing/graph_visualizer.h b/compiler/optimizing/graph_visualizer.h index b5baed9c99..b90d15e1ff 100644 --- a/compiler/optimizing/graph_visualizer.h +++ b/compiler/optimizing/graph_visualizer.h @@ -32,28 +32,18 @@ static const char* kLivenessPassName = "liveness"; static const char* kRegisterAllocatorPassName = "register"; /** - * If enabled, emits compilation information suitable for the c1visualizer tool - * and IRHydra. - * Currently only works if the compiler is single threaded. + * This class outputs the HGraph in the C1visualizer format. + * Note: Currently only works if the compiler is single threaded. */ class HGraphVisualizer : public ValueObject { public: - /** - * If output is not null, and the method name of the dex compilation - * unit contains `string_filter`, the compilation information will be - * emitted. - */ HGraphVisualizer(std::ostream* output, HGraph* graph, const char* string_filter, const CodeGenerator& codegen, const char* method_name); - /** - * If this visualizer is enabled, emit the compilation information - * in `output_`. - */ - void DumpGraph(const char* pass_name) const; + void DumpGraph(const char* pass_name, bool is_after_pass = true) const; private: std::ostream* const output_; |