summaryrefslogtreecommitdiff
path: root/js/src/jit/BytecodeAnalysis.h
diff options
context:
space:
mode:
Diffstat (limited to 'js/src/jit/BytecodeAnalysis.h')
-rw-r--r--js/src/jit/BytecodeAnalysis.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/js/src/jit/BytecodeAnalysis.h b/js/src/jit/BytecodeAnalysis.h
index 3e9251b7dc..6e3a21ea25 100644
--- a/js/src/jit/BytecodeAnalysis.h
+++ b/js/src/jit/BytecodeAnalysis.h
@@ -44,7 +44,7 @@ class BytecodeAnalysis
public:
explicit BytecodeAnalysis(TempAllocator& alloc, JSScript* script);
- MOZ_MUST_USE bool init(TempAllocator& alloc, GSNCache& gsn);
+ [[nodiscard]] bool init(TempAllocator& alloc, GSNCache& gsn);
BytecodeInfo& info(jsbytecode* pc) {
MOZ_ASSERT(infos_[script_->pcToOffset(pc)].initialized);