summaryrefslogtreecommitdiff
path: root/js/src/vm/ArgumentsObject.h
diff options
context:
space:
mode:
Diffstat (limited to 'js/src/vm/ArgumentsObject.h')
-rw-r--r--js/src/vm/ArgumentsObject.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/js/src/vm/ArgumentsObject.h b/js/src/vm/ArgumentsObject.h
index 63dc044b0f..46ca2976e6 100644
--- a/js/src/vm/ArgumentsObject.h
+++ b/js/src/vm/ArgumentsObject.h
@@ -173,7 +173,7 @@ class ArgumentsObject : public NativeObject
return data()->rareData;
}
- MOZ_MUST_USE bool createRareData(JSContext* cx);
+ [[nodiscard]] bool createRareData(JSContext* cx);
RareArgumentsData* getOrCreateRareData(JSContext* cx) {
if (!data()->rareData && !createRareData(cx))