diff options
author | 2015-07-16 20:32:27 -0700 | |
---|---|---|
committer | 2015-07-22 15:13:56 -0700 | |
commit | 90443477f9a0061581c420775ce3b7eeae7468bc (patch) | |
tree | 8c74b81dfae162e0fd0ccf8d5ac50827ba815174 /runtime/compiler_callbacks.h | |
parent | 6078aec213dfaf111c29969706e8e5967cfc9bea (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 'runtime/compiler_callbacks.h')
-rw-r--r-- | runtime/compiler_callbacks.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/compiler_callbacks.h b/runtime/compiler_callbacks.h index b296e39c5e..af7b04f62e 100644 --- a/runtime/compiler_callbacks.h +++ b/runtime/compiler_callbacks.h @@ -38,7 +38,7 @@ class CompilerCallbacks { virtual ~CompilerCallbacks() { } virtual bool MethodVerified(verifier::MethodVerifier* verifier) - SHARED_LOCKS_REQUIRED(Locks::mutator_lock_) = 0; + SHARED_REQUIRES(Locks::mutator_lock_) = 0; virtual void ClassRejected(ClassReference ref) = 0; // Return true if we should attempt to relocate to a random base address if we have not already |