diff options
author | Vladimir Marko <vmarko@google.com> | 2014-01-23 15:51:58 +0000 |
---|---|---|
committer | Vladimir Marko <vmarko@google.com> | 2014-03-10 10:59:57 +0000 |
commit | f096aad9203d7c50b2f9cbe1c1215a50c265a059 (patch) | |
tree | 44be6a56bbc5e8e697bbc2cd8cabc51e602eeefc /compiler/dex/pass_driver.cc | |
parent | 0307b5c91c287e08cd414ecc5de32befceb7e371 (diff) | |
download | android_art-f096aad9203d7c50b2f9cbe1c1215a50c265a059.tar.gz android_art-f096aad9203d7c50b2f9cbe1c1215a50c265a059.tar.bz2 android_art-f096aad9203d7c50b2f9cbe1c1215a50c265a059.zip |
Cache method lowering info in mir graph.
This should enable easy inlining checks. It should also
improve compilation time of methods that call the same
methods over and over - it is exactly such methods that
tend to exceed our 100ms time limit.
Change-Id: If01cd18e039071a74a1444570283c153429c9cd4
Diffstat (limited to 'compiler/dex/pass_driver.cc')
-rw-r--r-- | compiler/dex/pass_driver.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/compiler/dex/pass_driver.cc b/compiler/dex/pass_driver.cc index 256bcb1473..291012f0d9 100644 --- a/compiler/dex/pass_driver.cc +++ b/compiler/dex/pass_driver.cc @@ -92,6 +92,7 @@ void PassDriver::CreatePasses() { */ static const Pass* const passes[] = { GetPassInstance<CacheFieldLoweringInfo>(), + GetPassInstance<CacheMethodLoweringInfo>(), GetPassInstance<CodeLayout>(), GetPassInstance<SSATransformation>(), GetPassInstance<ConstantPropagation>(), |