From 1749e2cfb5c5ed4d6970a09aecf898ca9cdfcb75 Mon Sep 17 00:00:00 2001 From: David Brazdil Date: Mon, 28 Sep 2015 13:49:59 +0100 Subject: 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 --- compiler/optimizing/ssa_builder.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'compiler/optimizing/ssa_builder.h') 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(); -- cgit v1.2.3-59-g8ed1b