diff options
| author | 2015-11-18 21:29:47 +0000 | |
|---|---|---|
| committer | 2015-11-18 21:29:47 +0000 | |
| commit | b9bbbeb2b05d74cae0fe0682a26b19f5a7e68d8c (patch) | |
| tree | 1de557901bb185321784101c2cb319b7f75e91c7 /compiler/driver/compiler_driver.h | |
| parent | a341377bd5eb7cef471cb29a382e1614523e5a6c (diff) | |
| parent | fb8464ae5f5194dc16278e528cfcbff71498c767 (diff) | |
Merge "Revert "Revert "Enable store elimination for singleton objects."""
Diffstat (limited to 'compiler/driver/compiler_driver.h')
| -rw-r--r-- | compiler/driver/compiler_driver.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/compiler/driver/compiler_driver.h b/compiler/driver/compiler_driver.h index 5683b03a71..dae785b688 100644 --- a/compiler/driver/compiler_driver.h +++ b/compiler/driver/compiler_driver.h @@ -211,8 +211,11 @@ class CompilerDriver { REQUIRES(!Locks::mutator_lock_); // Are runtime access and instantiable checks necessary in the code? - bool CanAccessInstantiableTypeWithoutChecks(uint32_t referrer_idx, const DexFile& dex_file, - uint32_t type_idx) + // out_is_finalizable is set to whether the type is finalizable. + bool CanAccessInstantiableTypeWithoutChecks(uint32_t referrer_idx, + const DexFile& dex_file, + uint32_t type_idx, + bool* out_is_finalizable) REQUIRES(!Locks::mutator_lock_); bool CanEmbedTypeInCode(const DexFile& dex_file, uint32_t type_idx, |