diff options
Diffstat (limited to 'js/src/frontend/BytecodeControlStructures.h')
-rw-r--r-- | js/src/frontend/BytecodeControlStructures.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/js/src/frontend/BytecodeControlStructures.h b/js/src/frontend/BytecodeControlStructures.h index 0863f9ef5d..fe7032b0cd 100644 --- a/js/src/frontend/BytecodeControlStructures.h +++ b/js/src/frontend/BytecodeControlStructures.h @@ -64,7 +64,7 @@ class BreakableControl : public NestableControl BreakableControl(BytecodeEmitter* bce, StatementKind kind); - MOZ_MUST_USE bool patchBreaks(BytecodeEmitter* bce); + [[nodiscard]] bool patchBreaks(BytecodeEmitter* bce); }; template <> inline bool @@ -131,7 +131,7 @@ class LoopControl : public BreakableControl return canIonOsr_; } - MOZ_MUST_USE bool patchBreaksAndContinues(BytecodeEmitter* bce); + [[nodiscard]] bool patchBreaksAndContinues(BytecodeEmitter* bce); }; template <> inline bool |