diff options
Diffstat (limited to 'runtime/managed_stack.h')
-rw-r--r-- | runtime/managed_stack.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/runtime/managed_stack.h b/runtime/managed_stack.h index d1c230fd8f..3fb83aca46 100644 --- a/runtime/managed_stack.h +++ b/runtime/managed_stack.h @@ -23,8 +23,8 @@ #include <android-base/logging.h> +#include "base/locks.h" #include "base/macros.h" -#include "base/mutex.h" #include "base/bit_utils.h" namespace art { @@ -95,7 +95,7 @@ class PACKED(4) ManagedStack { tagged_top_quick_frame_ = TaggedTopQuickFrame::CreateTagged(top); } - static size_t TaggedTopQuickFrameOffset() { + static constexpr size_t TaggedTopQuickFrameOffset() { return OFFSETOF_MEMBER(ManagedStack, tagged_top_quick_frame_); } |