summaryrefslogtreecommitdiff
path: root/js/src/jit/Snapshots.h
diff options
context:
space:
mode:
Diffstat (limited to 'js/src/jit/Snapshots.h')
-rw-r--r--js/src/jit/Snapshots.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/js/src/jit/Snapshots.h b/js/src/jit/Snapshots.h
index d9a4962946..290dbd68cd 100644
--- a/js/src/jit/Snapshots.h
+++ b/js/src/jit/Snapshots.h
@@ -384,14 +384,14 @@ class SnapshotWriter
SnapshotOffset lastStart_;
public:
- MOZ_MUST_USE bool init();
+ [[nodiscard]] bool init();
SnapshotOffset startSnapshot(RecoverOffset recoverOffset, BailoutKind kind);
#ifdef TRACK_SNAPSHOTS
void trackSnapshot(uint32_t pcOpcode, uint32_t mirOpcode, uint32_t mirId,
uint32_t lirOpcode, uint32_t lirId);
#endif
- MOZ_MUST_USE bool add(const RValueAllocation& slot);
+ [[nodiscard]] bool add(const RValueAllocation& slot);
uint32_t allocWritten() const {
return allocWritten_;