diff options
Diffstat (limited to 'js/src/frontend/CallOrNewEmitter.cpp')
-rw-r--r-- | js/src/frontend/CallOrNewEmitter.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/js/src/frontend/CallOrNewEmitter.cpp b/js/src/frontend/CallOrNewEmitter.cpp index 430c422811..51d624e38a 100644 --- a/js/src/frontend/CallOrNewEmitter.cpp +++ b/js/src/frontend/CallOrNewEmitter.cpp @@ -59,7 +59,7 @@ CallOrNewEmitter::emitNameCallee(JSAtom* name) return true; } -MOZ_MUST_USE PropOpEmitter& +[[nodiscard]] PropOpEmitter& CallOrNewEmitter::prepareForPropCallee(bool isSuperProp) { MOZ_ASSERT(state_ == State::Start); @@ -76,7 +76,7 @@ CallOrNewEmitter::prepareForPropCallee(bool isSuperProp) return *poe_; } -MOZ_MUST_USE ElemOpEmitter& +[[nodiscard]] ElemOpEmitter& CallOrNewEmitter::prepareForElemCallee(bool isSuperElem) { MOZ_ASSERT(state_ == State::Start); |