summaryrefslogtreecommitdiff
path: root/js/src/wasm/WasmBinaryToExperimentalText.h
diff options
context:
space:
mode:
Diffstat (limited to 'js/src/wasm/WasmBinaryToExperimentalText.h')
-rw-r--r--js/src/wasm/WasmBinaryToExperimentalText.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/js/src/wasm/WasmBinaryToExperimentalText.h b/js/src/wasm/WasmBinaryToExperimentalText.h
index 6c77c583cb..a93a05eda0 100644
--- a/js/src/wasm/WasmBinaryToExperimentalText.h
+++ b/js/src/wasm/WasmBinaryToExperimentalText.h
@@ -46,7 +46,7 @@ struct ExperimentalTextFormatting
// Translate the given binary representation of a wasm module into the module's textual
// representation.
-MOZ_MUST_USE bool
+[[nodiscard]] bool
BinaryToExperimentalText(JSContext* cx, const uint8_t* bytes, size_t length, StringBuffer& buffer,
const ExperimentalTextFormatting& formatting = ExperimentalTextFormatting(),
GeneratedSourceMap* sourceMap = nullptr);