mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-13 13:25:37 +00:00
Bug 1143966 - Remove type specifier from AllocKind to avoid miscompilations on GCC. r=terrence
--HG-- extra : rebase_source : a5478fcb4b834ff6ba798032f6dd4f8e1d28107d
This commit is contained in:
parent
be65e7c4e3
commit
7738c1c171
@ -76,7 +76,9 @@ enum InitialHeap {
|
||||
};
|
||||
|
||||
/* The GC allocation kinds. */
|
||||
enum class AllocKind : uint8_t {
|
||||
// FIXME: uint8_t would make more sense for the underlying type, but causes
|
||||
// miscompilations in GCC (fixed in 4.8.5 and 4.9.3). See also bug 1143966.
|
||||
enum class AllocKind {
|
||||
FIRST,
|
||||
OBJECT0 = FIRST,
|
||||
OBJECT0_BACKGROUND,
|
||||
|
Loading…
Reference in New Issue
Block a user