summaryrefslogtreecommitdiff
path: root/compiler/dex/quick/quick_compiler.h
diff options
context:
space:
mode:
author Mathieu Chartier <mathieuc@google.com> 2015-07-16 20:32:27 -0700
committer Mathieu Chartier <mathieuc@google.com> 2015-07-22 15:13:56 -0700
commit90443477f9a0061581c420775ce3b7eeae7468bc (patch)
tree8c74b81dfae162e0fd0ccf8d5ac50827ba815174 /compiler/dex/quick/quick_compiler.h
parent6078aec213dfaf111c29969706e8e5967cfc9bea (diff)
Move to newer clang annotations
Also enable -Wthread-safety-negative. Changes: Switch to capabilities and negative capabilities. Future work: Use capabilities to implement uninterruptible annotations to work with AssertNoThreadSuspension. Bug: 20072211 Change-Id: I42fcbe0300d98a831c89d1eff3ecd5a7e99ebf33
Diffstat (limited to 'compiler/dex/quick/quick_compiler.h')
-rw-r--r--compiler/dex/quick/quick_compiler.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/dex/quick/quick_compiler.h b/compiler/dex/quick/quick_compiler.h
index 43dd5786af..4a39ab3565 100644
--- a/compiler/dex/quick/quick_compiler.h
+++ b/compiler/dex/quick/quick_compiler.h
@@ -50,7 +50,7 @@ class QuickCompiler : public Compiler {
const DexFile& dex_file) const OVERRIDE;
uintptr_t GetEntryPointOf(ArtMethod* method) const OVERRIDE
- SHARED_LOCKS_REQUIRED(Locks::mutator_lock_);
+ SHARED_REQUIRES(Locks::mutator_lock_);
static Mir2Lir* GetCodeGenerator(CompilationUnit* cu, void* compilation_unit);