diff options
| author | 2015-07-15 14:41:29 +0100 | |
|---|---|---|
| committer | 2015-07-21 14:33:33 +0100 | |
| commit | b0d5fc0ac139da4aaa1440263416b9bde05630b0 (patch) | |
| tree | 7f897d8b0545e43da6b6059718685a8e396b3b70 /compiler/optimizing/optimizing_compiler.cc | |
| parent | d1665b7a689086ec5b33a69a05313c46ea1a95e4 (diff) | |
Fixes and improvements in ReferenceTypePropagation
- Bound object types after a CheckCast. This increases the precision of
(inlining) generic operations.
- Make sure that the BoundType is exact when the class is final.
- Make sure that we don't duplicate BoundTypes when we run the analysis
more than once.
Change-Id: Ic22b610766fae101f942c0d753ddcac32ac1844a
Diffstat (limited to 'compiler/optimizing/optimizing_compiler.cc')
| -rw-r--r-- | compiler/optimizing/optimizing_compiler.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/compiler/optimizing/optimizing_compiler.cc b/compiler/optimizing/optimizing_compiler.cc index 4568a463db..ae1958afcb 100644 --- a/compiler/optimizing/optimizing_compiler.cc +++ b/compiler/optimizing/optimizing_compiler.cc @@ -379,7 +379,8 @@ static void RunOptimizations(HGraph* graph, InstructionSimplifier* simplify3 = new (arena) InstructionSimplifier( graph, stats, "instruction_simplifier_after_bce"); ReferenceTypePropagation* type_propagation2 = - new (arena) ReferenceTypePropagation(graph, handles); + new (arena) ReferenceTypePropagation( + graph, handles, "reference_type_propagation_after_inlining"); InstructionSimplifier* simplify4 = new (arena) InstructionSimplifier( graph, stats, "instruction_simplifier_before_codegen"); |