diff options
author | Nicolas Geoffray <ngeoffray@google.com> | 2014-05-26 10:53:44 +0000 |
---|---|---|
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | 2014-05-26 10:53:44 +0000 |
commit | ddb1a1604d5070828e857902c8596de27e2fe5f5 (patch) | |
tree | a5d6b64ae6d5352f761fc2547bda863281adbe40 /compiler/optimizing/graph_visualizer.h | |
parent | 8b5b1e5593ffa77c393e4172b71a3d5a821d2ed8 (diff) | |
parent | a7062e05e6048c7f817d784a5b94e3122e25b1ec (diff) |
Merge "Add a linear scan register allocator to the optimizing compiler."
Diffstat (limited to 'compiler/optimizing/graph_visualizer.h')
-rw-r--r-- | compiler/optimizing/graph_visualizer.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/compiler/optimizing/graph_visualizer.h b/compiler/optimizing/graph_visualizer.h index 2b88e652f7..2638cf504d 100644 --- a/compiler/optimizing/graph_visualizer.h +++ b/compiler/optimizing/graph_visualizer.h @@ -21,6 +21,7 @@ namespace art { +class CodeGenerator; class DexCompilationUnit; class HGraph; @@ -39,13 +40,17 @@ class HGraphVisualizer : public ValueObject { HGraphVisualizer(std::ostream* output, HGraph* graph, const char* string_filter, + const CodeGenerator& codegen, const DexCompilationUnit& cu); /** * Version of `HGraphVisualizer` for unit testing, that is when a * `DexCompilationUnit` is not available. */ - HGraphVisualizer(std::ostream* output, HGraph* graph, const char* name); + HGraphVisualizer(std::ostream* output, + HGraph* graph, + const CodeGenerator& codegen, + const char* name); /** * If this visualizer is enabled, emit the compilation information @@ -56,6 +61,7 @@ class HGraphVisualizer : public ValueObject { private: std::ostream* const output_; HGraph* const graph_; + const CodeGenerator& codegen_; // Is true when `output_` is not null, and the compiled method's name // contains the string_filter given in the constructor. |