summaryrefslogtreecommitdiff
path: root/js/src/jit/StupidAllocator.h
diff options
context:
space:
mode:
Diffstat (limited to 'js/src/jit/StupidAllocator.h')
-rw-r--r--js/src/jit/StupidAllocator.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/js/src/jit/StupidAllocator.h b/js/src/jit/StupidAllocator.h
index aae2cb96bd..96c17e03f3 100644
--- a/js/src/jit/StupidAllocator.h
+++ b/js/src/jit/StupidAllocator.h
@@ -56,10 +56,10 @@ class StupidAllocator : public RegisterAllocator
{
}
- MOZ_MUST_USE bool go();
+ [[nodiscard]] bool go();
private:
- MOZ_MUST_USE bool init();
+ [[nodiscard]] bool init();
void syncForBlockEnd(LBlock* block, LInstruction* ins);
void allocateForInstruction(LInstruction* ins);