diff options
author | Sebastien Hertz <shertz@google.com> | 2013-09-06 14:52:10 +0200 |
---|---|---|
committer | Sebastien Hertz <shertz@google.com> | 2013-09-06 14:52:10 +0200 |
commit | 1e54d68ce8e77dfe63340275d11a072c5184c89a (patch) | |
tree | 08454be7d08352d228e6a6078d53226d6fb92880 /compiler/driver/compiler_driver.h | |
parent | c8c4e2a4edfdafb18047b2392a8f72ae93119bc2 (diff) | |
download | android_art-1e54d68ce8e77dfe63340275d11a072c5184c89a.tar.gz android_art-1e54d68ce8e77dfe63340275d11a072c5184c89a.tar.bz2 android_art-1e54d68ce8e77dfe63340275d11a072c5184c89a.zip |
Disable devirtualization detection in DEX-to-DEX compiler.
This CL allows the DEX-to-DEX compiler to disable devirtualization detection.
This allows to quicken invoke-virtual/range instructions that used to be
eligible for devirtualization.
Bug: 10632943
Change-Id: I6c9f4d3249cf42b47f004be5825b3186fa83501e
Diffstat (limited to 'compiler/driver/compiler_driver.h')
-rw-r--r-- | compiler/driver/compiler_driver.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/compiler/driver/compiler_driver.h b/compiler/driver/compiler_driver.h index fa1b8f9854..c324590d13 100644 --- a/compiler/driver/compiler_driver.h +++ b/compiler/driver/compiler_driver.h @@ -183,7 +183,8 @@ class CompilerDriver { // index. bool ComputeInvokeInfo(const DexCompilationUnit* mUnit, const uint32_t dex_pc, InvokeType& type, MethodReference& target_method, int& vtable_idx, - uintptr_t& direct_code, uintptr_t& direct_method, bool update_stats) + uintptr_t& direct_code, uintptr_t& direct_method, bool update_stats, + bool enable_devirtualization) LOCKS_EXCLUDED(Locks::mutator_lock_); bool IsSafeCast(const MethodReference& mr, uint32_t dex_pc); |