summaryrefslogtreecommitdiff
path: root/js/src/jit/BaselineJIT.h
diff options
context:
space:
mode:
Diffstat (limited to 'js/src/jit/BaselineJIT.h')
-rw-r--r--js/src/jit/BaselineJIT.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/js/src/jit/BaselineJIT.h b/js/src/jit/BaselineJIT.h
index dd7a92c6d9..234e60ff96 100644
--- a/js/src/jit/BaselineJIT.h
+++ b/js/src/jit/BaselineJIT.h
@@ -416,7 +416,7 @@ struct BaselineScript
// the result may not be accurate.
jsbytecode* approximatePcForNativeAddress(JSScript* script, uint8_t* nativeAddress);
- MOZ_MUST_USE bool addDependentWasmImport(JSContext* cx, wasm::Instance& instance, uint32_t idx);
+ [[nodiscard]] bool addDependentWasmImport(JSContext* cx, wasm::Instance& instance, uint32_t idx);
void removeDependentWasmImport(wasm::Instance& instance, uint32_t idx);
void unlinkDependentWasmImports(FreeOp* fop);
void clearDependentWasmImports();