diff options
Diffstat (limited to 'js/src/jit/shared/CodeGenerator-shared.h')
-rw-r--r-- | js/src/jit/shared/CodeGenerator-shared.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/js/src/jit/shared/CodeGenerator-shared.h b/js/src/jit/shared/CodeGenerator-shared.h index 0cc10b567d..7f14e8cd58 100644 --- a/js/src/jit/shared/CodeGenerator-shared.h +++ b/js/src/jit/shared/CodeGenerator-shared.h @@ -270,8 +270,7 @@ class CodeGeneratorShared : public LElementVisitor }; protected: - MOZ_MUST_USE - bool allocateData(size_t size, size_t* offset) { + [[nodiscard]] bool allocateData(size_t size, size_t* offset) { MOZ_ASSERT(size % sizeof(void*) == 0); *offset = runtimeData_.length(); masm.propagateOOM(runtimeData_.appendN(0, size)); |