summaryrefslogtreecommitdiffstats
path: root/js/src/builtin/temporal/TimeZone.h
diff options
context:
space:
mode:
Diffstat (limited to 'js/src/builtin/temporal/TimeZone.h')
-rw-r--r--js/src/builtin/temporal/TimeZone.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/js/src/builtin/temporal/TimeZone.h b/js/src/builtin/temporal/TimeZone.h
index f1d0bf3f1f..f13421111a 100644
--- a/js/src/builtin/temporal/TimeZone.h
+++ b/js/src/builtin/temporal/TimeZone.h
@@ -8,6 +8,7 @@
#define builtin_temporal_TimeZone_h
#include "mozilla/Assertions.h"
+#include "mozilla/Attributes.h"
#include "mozilla/EnumSet.h"
#include <stddef.h>
@@ -142,7 +143,7 @@ namespace js::temporal {
*
* Option 2 is a bit easier to implement, so we use this approach for now.
*/
-class TimeZoneValue final {
+class MOZ_STACK_CLASS TimeZoneValue final {
JSObject* object_ = nullptr;
public:
@@ -252,7 +253,7 @@ enum class TimeZoneMethod {
GetPossibleInstantsFor,
};
-class TimeZoneRecord {
+class MOZ_STACK_CLASS TimeZoneRecord final {
TimeZoneValue receiver_;
// Null unless non-builtin time zone methods are used.