diff options
author | 2014-04-28 16:47:08 -0700 | |
---|---|---|
committer | 2014-04-29 14:36:28 -0700 | |
commit | b0fa5dc7769c1e054032f39de0a3f6d6dd06f8cf (patch) | |
tree | 839d13ebfa7170967dd9b4abd434b7abda53da99 /compiler/compilers.h | |
parent | 948740c1938860df055ddc801f20fd1707331e38 (diff) |
Force inlining on trivial accessors.
Make volatility for GetFieldObject a template parameter.
Move some trivial mirror::String routines to a -inl.h.
Bug: 14285442
Change-Id: Ie23b11d4f18cb15a62c3bbb42837a8aaf6b68f92
Diffstat (limited to 'compiler/compilers.h')
-rw-r--r-- | compiler/compilers.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/compiler/compilers.h b/compiler/compilers.h index 892a6bd1d5..255dd23f33 100644 --- a/compiler/compilers.h +++ b/compiler/compilers.h @@ -43,7 +43,8 @@ class QuickCompiler : public Compiler { uint32_t method_idx, const DexFile& dex_file) const OVERRIDE; - uintptr_t GetEntryPointOf(mirror::ArtMethod* method) const OVERRIDE; + uintptr_t GetEntryPointOf(mirror::ArtMethod* method) const OVERRIDE + SHARED_LOCKS_REQUIRED(Locks::mutator_lock_); bool WriteElf(art::File* file, OatWriter* oat_writer, |