diff options
Diffstat (limited to 'compiler/utils/stack_checks.h')
-rw-r--r-- | compiler/utils/stack_checks.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/utils/stack_checks.h b/compiler/utils/stack_checks.h index d0fff73df3..1be4532f3e 100644 --- a/compiler/utils/stack_checks.h +++ b/compiler/utils/stack_checks.h @@ -35,7 +35,7 @@ static constexpr size_t kSmallFrameSize = 1 * KB; // stack overflow check on method entry. // // A frame is considered large when it's above kLargeFrameSize. -static inline bool FrameNeedsStackCheck(size_t size, InstructionSet isa ATTRIBUTE_UNUSED) { +static inline bool FrameNeedsStackCheck(size_t size, [[maybe_unused]] InstructionSet isa) { return size >= kLargeFrameSize; } |