diff options
author | Jean Christophe Beyler <jean.christophe.beyler@intel.com> | 2014-05-06 20:36:55 -0700 |
---|---|---|
committer | Vladimir Marko <vmarko@google.com> | 2014-05-30 10:15:48 +0100 |
commit | 2469e60e6ff08c2a0b4cd1e209246c5d91027679 (patch) | |
tree | 37b2f537fca7ba56cb787913557ee12d6e533d55 /compiler/dex/mir_dataflow.cc | |
parent | 29b53d3d715b1ec19349e8cbf7c5e4ff529bd5fe (diff) | |
download | art-2469e60e6ff08c2a0b4cd1e209246c5d91027679.zip art-2469e60e6ff08c2a0b4cd1e209246c5d91027679.tar.gz art-2469e60e6ff08c2a0b4cd1e209246c5d91027679.tar.bz2 |
ART: Setting up cleanup
- Moved code around to actually have the clean-up code in a PassDriver format.
This allows us to better control what is being called after an optimization
It also allows the use of a centralized pass system for both optimizations
and cleanup.
Change-Id: I9d21e9bb9ee663739722f440d82adf04f73e380c
Signed-off-by: Jean Christophe Beyler <jean.christophe.beyler@intel.com>
Signed-off-by: Razvan A Lupusoru <razvan.a.lupusoru@intel.com>
Signed-off-by: Yixin Shou <yixin.shou@intel.com>
Signed-off-by: Chao-ying Fu <chao-ying.fu@intel.com>
Signed-off-by: Udayan Banerji <udayan.banerji@intel.com>
Diffstat (limited to 'compiler/dex/mir_dataflow.cc')
-rw-r--r-- | compiler/dex/mir_dataflow.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/dex/mir_dataflow.cc b/compiler/dex/mir_dataflow.cc index 47b233b..5ff6274 100644 --- a/compiler/dex/mir_dataflow.cc +++ b/compiler/dex/mir_dataflow.cc @@ -1282,7 +1282,7 @@ bool MIRGraph::VerifyPredInfo(BasicBlock* bb) { GrowableArray<BasicBlockId>::Iterator iter(bb->predecessors); while (true) { - BasicBlock *pred_bb = GetBasicBlock(iter.Next()); + BasicBlock* pred_bb = GetBasicBlock(iter.Next()); if (!pred_bb) break; bool found = false; if (pred_bb->taken == bb->id) { |