mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-17 07:15:46 +00:00
Bug 1721549 - Add JS::GCReason::FIRST_RESERVED_REASON r=sfink
Since this would be useful let's add it. Differential Revision: https://phabricator.services.mozilla.com/D120707
This commit is contained in:
parent
c03526cc1d
commit
96e702158d
@ -581,7 +581,7 @@ namespace JS {
|
||||
D(HTML_PARSER, 55) \
|
||||
\
|
||||
/* Reasons reserved for embeddings. */ \
|
||||
D(RESERVED1, 90) \
|
||||
D(RESERVED1, FIRST_RESERVED_REASON) \
|
||||
D(RESERVED2, 91) \
|
||||
D(RESERVED3, 92) \
|
||||
D(RESERVED4, 93) \
|
||||
@ -593,6 +593,7 @@ namespace JS {
|
||||
|
||||
enum class GCReason {
|
||||
FIRST_FIREFOX_REASON = 33,
|
||||
FIRST_RESERVED_REASON = 90,
|
||||
|
||||
#define MAKE_REASON(name, val) name = val,
|
||||
GCREASONS(MAKE_REASON)
|
||||
|
Loading…
Reference in New Issue
Block a user