summaryrefslogtreecommitdiff
path: root/js/src/wasm/AsmJS.h
diff options
context:
space:
mode:
Diffstat (limited to 'js/src/wasm/AsmJS.h')
-rw-r--r--js/src/wasm/AsmJS.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/js/src/wasm/AsmJS.h b/js/src/wasm/AsmJS.h
index 2bad4b3e4e..abdbf5111d 100644
--- a/js/src/wasm/AsmJS.h
+++ b/js/src/wasm/AsmJS.h
@@ -39,7 +39,7 @@ typedef frontend::Parser<frontend::FullParseHandler> AsmJSParser;
// indeterminate amount and the entire function should be reparsed from the
// beginning.
-extern MOZ_MUST_USE bool
+[[nodiscard]] extern bool
CompileAsmJS(ExclusiveContext* cx, AsmJSParser& parser, frontend::ParseNode* stmtList,
bool* validated);