summaryrefslogtreecommitdiffstats
path: root/compiler/dex/pass_driver.cc
diff options
context:
space:
mode:
authorVladimir Marko <vmarko@google.com>2014-01-17 17:49:33 +0000
committerVladimir Marko <vmarko@google.com>2014-03-17 14:27:16 +0000
commitbfea9c29e809e04bde4a46591fea64c5a7b922fb (patch)
tree8c50357e0de293f105affd95941acc08ac33cd04 /compiler/dex/pass_driver.cc
parent341a84af890a328a6c8f719beb3f670dd1a369b4 (diff)
downloadandroid_art-bfea9c29e809e04bde4a46591fea64c5a7b922fb.tar.gz
android_art-bfea9c29e809e04bde4a46591fea64c5a7b922fb.tar.bz2
android_art-bfea9c29e809e04bde4a46591fea64c5a7b922fb.zip
Class initialization check elimination.
Also, move null check elimination temporaries to the ScopedArenaAllocator and reuse the same variables in the class initialization check elimination. Change-Id: Ic746f95427065506fa6016d4931e4cb8b34937af
Diffstat (limited to 'compiler/dex/pass_driver.cc')
-rw-r--r--compiler/dex/pass_driver.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/dex/pass_driver.cc b/compiler/dex/pass_driver.cc
index 72d3ea6377..f195aff6b6 100644
--- a/compiler/dex/pass_driver.cc
+++ b/compiler/dex/pass_driver.cc
@@ -97,8 +97,8 @@ static const Pass* const gPasses[] = {
GetPassInstance<ConstantPropagation>(),
GetPassInstance<InitRegLocations>(),
GetPassInstance<MethodUseCount>(),
- GetPassInstance<NullCheckEliminationAndTypeInferenceInit>(),
GetPassInstance<NullCheckEliminationAndTypeInference>(),
+ GetPassInstance<ClassInitCheckElimination>(),
GetPassInstance<BBCombine>(),
GetPassInstance<BBOptimizations>(),
};