diff options
| author | 2016-04-14 10:30:39 +0000 | |
|---|---|---|
| committer | 2016-04-14 10:30:39 +0000 | |
| commit | 89c31e36c388d96f0ecef8d2c4b51747468d1e7a (patch) | |
| tree | 0ba47e659de70d156cbd1ae642b0bf48fe30b3e9 /compiler/optimizing/instruction_builder.h | |
| parent | dad35b0762f97ce79ce3b9a35c9df5021b7dbd17 (diff) | |
| parent | 3cd50df11b3076b801954018236c366fd9b97948 (diff) | |
Merge "Use dex cache from compilation unit in HInstructionBuilder."
Diffstat (limited to 'compiler/optimizing/instruction_builder.h')
| -rw-r--r-- | compiler/optimizing/instruction_builder.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/compiler/optimizing/instruction_builder.h b/compiler/optimizing/instruction_builder.h index f480b70062..070f7da80e 100644 --- a/compiler/optimizing/instruction_builder.h +++ b/compiler/optimizing/instruction_builder.h @@ -97,6 +97,10 @@ class HInstructionBuilder : public ValueObject { // Returns whether the current method needs access check for the type. // Output parameter finalizable is set to whether the type is finalizable. + bool NeedsAccessCheck(uint32_t type_index, + Handle<mirror::DexCache> dex_cache, + /*out*/bool* finalizable) const + SHARED_REQUIRES(Locks::mutator_lock_); bool NeedsAccessCheck(uint32_t type_index, /*out*/bool* finalizable) const; template<typename T> |