summaryrefslogtreecommitdiff
path: root/js/src/jit/MIRGenerator.h
diff options
context:
space:
mode:
Diffstat (limited to 'js/src/jit/MIRGenerator.h')
-rw-r--r--js/src/jit/MIRGenerator.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/js/src/jit/MIRGenerator.h b/js/src/jit/MIRGenerator.h
index 53e1155be9..3f1ee61f38 100644
--- a/js/src/jit/MIRGenerator.h
+++ b/js/src/jit/MIRGenerator.h
@@ -48,7 +48,7 @@ class MIRGenerator
MIRGraph& graph() {
return *graph_;
}
- MOZ_MUST_USE bool ensureBallast() {
+ [[nodiscard]] bool ensureBallast() {
return alloc().ensureBallast();
}
const JitRuntime* jitRuntime() const {
@@ -78,7 +78,7 @@ class MIRGenerator
return error_;
}
- MOZ_MUST_USE bool instrumentedProfiling() {
+ [[nodiscard]] bool instrumentedProfiling() {
if (!instrumentedProfilingIsCached_) {
instrumentedProfiling_ = GetJitContext()->runtime->spsProfiler().enabled();
instrumentedProfilingIsCached_ = true;