diff options
author | 2015-09-28 13:49:59 +0100 | |
---|---|---|
committer | 2015-11-04 18:13:45 +0000 | |
commit | 1749e2cfb5c5ed4d6970a09aecf898ca9cdfcb75 (patch) | |
tree | 57ab54c48a7404abf0c9f2c919e8a6c805d98587 /compiler/optimizing/ssa_builder.h | |
parent | c8894ab5021aecd0fa5eba94af47f732914af33b (diff) |
ART: Implement DeadPhiHandling in PrimitiveTypePropagation
DeadPhiHandling revives non-conflicting phis with environment uses
but does not properly merge types. To not duplicate code, this patch
modifies PrimitiveTypePropagation to deal with conflicts and thus
replaces DeadPhiHandling altogether.
Bug: 24252151
Bug: 24252100
Change-Id: I198c71d1b8167fc05783a5a24aa9f1e3804acafe
Diffstat (limited to 'compiler/optimizing/ssa_builder.h')
-rw-r--r-- | compiler/optimizing/ssa_builder.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/compiler/optimizing/ssa_builder.h b/compiler/optimizing/ssa_builder.h index 79f1a28ac8..da0583ce44 100644 --- a/compiler/optimizing/ssa_builder.h +++ b/compiler/optimizing/ssa_builder.h @@ -81,6 +81,8 @@ class SsaBuilder : public HGraphVisitor { static constexpr const char* kSsaBuilderPassName = "ssa_builder"; private: + void SetLoopPhiInputs(); + void FixEnvironmentPhis(); void FixNullConstantType(); void EquivalentPhisCleanup(); |