summaryrefslogtreecommitdiff
path: root/js/src/jsopcode.h
diff options
context:
space:
mode:
Diffstat (limited to 'js/src/jsopcode.h')
-rw-r--r--js/src/jsopcode.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/js/src/jsopcode.h b/js/src/jsopcode.h
index 70ae964b23..ce0658a7b3 100644
--- a/js/src/jsopcode.h
+++ b/js/src/jsopcode.h
@@ -875,7 +875,7 @@ GetNextPc(jsbytecode* pc)
/*
* Disassemblers, for debugging only.
*/
-extern MOZ_MUST_USE bool
+[[nodiscard]] extern bool
Disassemble(JSContext* cx, JS::Handle<JSScript*> script, bool lines, Sprinter* sp);
unsigned
@@ -884,7 +884,7 @@ Disassemble1(JSContext* cx, JS::Handle<JSScript*> script, jsbytecode* pc, unsign
#endif
-extern MOZ_MUST_USE bool
+[[nodiscard]] extern bool
DumpCompartmentPCCounts(JSContext* cx);
} // namespace js