diff options
Diffstat (limited to 'js/src/jit/EffectiveAddressAnalysis.h')
-rw-r--r-- | js/src/jit/EffectiveAddressAnalysis.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/js/src/jit/EffectiveAddressAnalysis.h b/js/src/jit/EffectiveAddressAnalysis.h index a912cc34d1..f2cf933027 100644 --- a/js/src/jit/EffectiveAddressAnalysis.h +++ b/js/src/jit/EffectiveAddressAnalysis.h @@ -19,7 +19,7 @@ class EffectiveAddressAnalysis MIRGraph& graph_; template <typename AsmJSMemoryAccess> - MOZ_MUST_USE bool tryAddDisplacement(AsmJSMemoryAccess* ins, int32_t o); + [[nodiscard]] bool tryAddDisplacement(AsmJSMemoryAccess* ins, int32_t o); template <typename AsmJSMemoryAccess> void analyzeAsmJSHeapAccess(AsmJSMemoryAccess* ins); @@ -29,7 +29,7 @@ class EffectiveAddressAnalysis : mir_(mir), graph_(graph) {} - MOZ_MUST_USE bool analyze(); + [[nodiscard]] bool analyze(); }; } /* namespace jit */ |