summaryrefslogtreecommitdiff
path: root/js/src/jit/Lowering.h
diff options
context:
space:
mode:
Diffstat (limited to 'js/src/jit/Lowering.h')
-rw-r--r--js/src/jit/Lowering.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/js/src/jit/Lowering.h b/js/src/jit/Lowering.h
index 8c380dcdef..e2b053643d 100644
--- a/js/src/jit/Lowering.h
+++ b/js/src/jit/Lowering.h
@@ -45,7 +45,7 @@ class LIRGenerator : public LIRGeneratorSpecific
maxargslots_(0)
{ }
- MOZ_MUST_USE bool generate();
+ [[nodiscard]] bool generate();
private:
LBoxAllocation useBoxFixedAtStart(MDefinition* mir, Register reg1, Register reg2) {
@@ -60,11 +60,11 @@ class LIRGenerator : public LIRGeneratorSpecific
void lowerBinaryV(JSOp op, MBinaryInstruction* ins);
void definePhis();
- MOZ_MUST_USE bool lowerCallArguments(MCall* call);
+ [[nodiscard]] bool lowerCallArguments(MCall* call);
public:
- MOZ_MUST_USE bool visitInstruction(MInstruction* ins);
- MOZ_MUST_USE bool visitBlock(MBasicBlock* block);
+ [[nodiscard]] bool visitInstruction(MInstruction* ins);
+ [[nodiscard]] bool visitBlock(MBasicBlock* block);
// Visitor hooks are explicit, to give CPU-specific versions a chance to
// intercept without a bunch of explicit gunk in the .cpp.