summaryrefslogtreecommitdiff
path: root/js/src/jscntxt.h
diff options
context:
space:
mode:
Diffstat (limited to 'js/src/jscntxt.h')
-rw-r--r--js/src/jscntxt.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/js/src/jscntxt.h b/js/src/jscntxt.h
index c4ef783d3a..654374a524 100644
--- a/js/src/jscntxt.h
+++ b/js/src/jscntxt.h
@@ -520,7 +520,7 @@ struct JSContext : public js::ExclusiveContext,
return throwing;
}
- MOZ_MUST_USE
+ [[nodiscard]]
bool getPendingException(JS::MutableHandleValue rval);
js::SavedFrame* getPendingExceptionStack();