diff options
author | 2015-02-12 15:25:22 +0000 | |
---|---|---|
committer | 2015-02-19 17:07:52 +0000 | |
commit | acf735c13998ad2a175f5a17e7bfce220073279d (patch) | |
tree | 94969f2387f0e6dad8c7e5712aa8187c9de2be56 /compiler/optimizing/instruction_simplifier.h | |
parent | 39109a06015c91188232e59fa9e60e0915d24cd7 (diff) |
Reference type propagation
- propagate reference types between instructions
- remove checked casts when possible
- add StackHandleScopeCollection to manage an arbitrary number of stack
handles (see comments)
Change-Id: I31200067c5e7375a5ea8e2f873c4374ebdb5ee60
Diffstat (limited to 'compiler/optimizing/instruction_simplifier.h')
-rw-r--r-- | compiler/optimizing/instruction_simplifier.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/compiler/optimizing/instruction_simplifier.h b/compiler/optimizing/instruction_simplifier.h index bca6697d05..a7ff755aed 100644 --- a/compiler/optimizing/instruction_simplifier.h +++ b/compiler/optimizing/instruction_simplifier.h @@ -19,6 +19,7 @@ #include "nodes.h" #include "optimization.h" +#include "optimizing_compiler_stats.h" namespace art { @@ -27,8 +28,10 @@ namespace art { */ class InstructionSimplifier : public HOptimization { public: - explicit InstructionSimplifier(HGraph* graph, const char* name = "instruction_simplifier") - : HOptimization(graph, true, name) {} + InstructionSimplifier(HGraph* graph, + OptimizingCompilerStats* stats = nullptr, + const char* name = "instruction_simplifier") + : HOptimization(graph, true, name, stats) {} void Run() OVERRIDE; }; |