diff options
Diffstat (limited to 'runtime/class_linker.h')
-rw-r--r-- | runtime/class_linker.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/runtime/class_linker.h b/runtime/class_linker.h index 26146db15d..daf9534c3a 100644 --- a/runtime/class_linker.h +++ b/runtime/class_linker.h @@ -891,11 +891,11 @@ class EXPORT ClassLinker { virtual void SetEnablePublicSdkChecks(bool enabled); // Transaction constraint checks for AOT compilation. - virtual bool TransactionWriteConstraint(Thread* self, ObjPtr<mirror::Object> obj) const + virtual bool TransactionWriteConstraint(Thread* self, ObjPtr<mirror::Object> obj) REQUIRES_SHARED(Locks::mutator_lock_); - virtual bool TransactionWriteValueConstraint(Thread* self, ObjPtr<mirror::Object> value) const + virtual bool TransactionWriteValueConstraint(Thread* self, ObjPtr<mirror::Object> value) REQUIRES_SHARED(Locks::mutator_lock_); - virtual bool TransactionAllocationConstraint(Thread* self, ObjPtr<mirror::Class> klass) const + virtual bool TransactionAllocationConstraint(Thread* self, ObjPtr<mirror::Class> klass) REQUIRES_SHARED(Locks::mutator_lock_); // Transaction bookkeeping for AOT compilation. |