OSDN Git Service

Quick: Fix LoopRepeatingTopologicalSortIterator.
authorVladimir Marko <vmarko@google.com>
Mon, 8 Jun 2015 15:39:02 +0000 (16:39 +0100)
committerVladimir Marko <vmarko@google.com>
Tue, 9 Jun 2015 09:08:31 +0000 (10:08 +0100)
commit21cb657159b3e93cc888685ade83f8fc519290be
tree8e9c076c09a6bdd94feeac299f9c891b2c902562
parentffd42ee5b4eb7de14b7d6b253655a9d231eb1271
Quick: Fix LoopRepeatingTopologicalSortIterator.

Always push the loop head on the loop head stack. This fixes
a bug where we failed to return to an unnatural loop head to
recalculate its GVN data.

Bug: 17410955

(cherry picked from commit 67c8c942e9dfcabd548351db75e6d3b8b5165afa)

Change-Id: I44b9a17cbcd7307d1cc70ac564b99e29803723c5
compiler/dex/dataflow_iterator-inl.h
compiler/dex/mir_graph_test.cc
compiler/dex/mir_optimization.cc