diff options
Diffstat (limited to 'js/src/wasm/WasmCode.h')
-rw-r--r-- | js/src/wasm/WasmCode.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/js/src/wasm/WasmCode.h b/js/src/wasm/WasmCode.h index c6f1ace02e..1254fd9d7c 100644 --- a/js/src/wasm/WasmCode.h +++ b/js/src/wasm/WasmCode.h @@ -1,6 +1,7 @@ /* -*- Mode: C++; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*- * * Copyright 2016 Mozilla Foundation + * Copyright 2023 Moonchild Productions * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -530,7 +531,7 @@ class Code // asynchronously walk the stack. Otherwise, the ProfilingFrameIterator will // skip any activations of this code. - MOZ_MUST_USE bool ensureProfilingState(JSContext* cx, bool enabled); + [[nodiscard]] bool ensureProfilingState(JSContext* cx, bool enabled); bool profilingEnabled() const { return profilingEnabled_; } const char* profilingLabel(uint32_t funcIndex) const { return funcLabels_[funcIndex].get(); } |