summaryrefslogtreecommitdiff
path: root/compiler/driver/compiler_driver.h
diff options
context:
space:
mode:
author Mingyao Yang <mingyao@google.com> 2015-11-18 21:29:47 +0000
committer Gerrit Code Review <noreply-gerritcodereview@google.com> 2015-11-18 21:29:47 +0000
commitb9bbbeb2b05d74cae0fe0682a26b19f5a7e68d8c (patch)
tree1de557901bb185321784101c2cb319b7f75e91c7 /compiler/driver/compiler_driver.h
parenta341377bd5eb7cef471cb29a382e1614523e5a6c (diff)
parentfb8464ae5f5194dc16278e528cfcbff71498c767 (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.h7
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,