diff options
Diffstat (limited to 'runtime/arch/context.h')
-rw-r--r-- | runtime/arch/context.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/runtime/arch/context.h b/runtime/arch/context.h index 91e0cd69db..3d111785d7 100644 --- a/runtime/arch/context.h +++ b/runtime/arch/context.h @@ -20,6 +20,8 @@ #include <stddef.h> #include <stdint.h> +#include "locks.h" + namespace art { class StackVisitor; @@ -38,7 +40,8 @@ class Context { // Read values from callee saves in the given frame. The frame also holds // the method that holds the layout. - virtual void FillCalleeSaves(const StackVisitor& fr) = 0; + virtual void FillCalleeSaves(const StackVisitor& fr) + SHARED_LOCKS_REQUIRED(Locks::mutator_lock_) = 0; // Set the stack pointer value virtual void SetSP(uintptr_t new_sp) = 0; |