summaryrefslogtreecommitdiff
path: root/compiler/compiler.h
diff options
context:
space:
mode:
Diffstat (limited to 'compiler/compiler.h')
-rw-r--r--compiler/compiler.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/compiler/compiler.h b/compiler/compiler.h
index 1d5fc24e9f..2357297b1d 100644
--- a/compiler/compiler.h
+++ b/compiler/compiler.h
@@ -74,7 +74,8 @@ class Compiler {
uint32_t method_idx,
const DexFile& dex_file) const = 0;
- virtual uintptr_t GetEntryPointOf(mirror::ArtMethod* method) const = 0;
+ virtual uintptr_t GetEntryPointOf(mirror::ArtMethod* method) const
+ SHARED_LOCKS_REQUIRED(Locks::mutator_lock_) = 0;
virtual bool WriteElf(art::File* file,
OatWriter* oat_writer,