summaryrefslogtreecommitdiff
path: root/js/src/gc
diff options
context:
space:
mode:
authortrav90 <travawine@palemoon.org>2022-04-14 09:14:21 -0500
committertrav90 <travawine@palemoon.org>2022-04-15 08:30:25 -0500
commit41fc1ccf4dfd91f17cf7cff804589a235a295159 (patch)
tree76b8434b9cec5b85fe254c4c20005fe1b0b91b4b /js/src/gc
parent7abed0e35276b50c01c65501d22890d933b3bc56 (diff)
downloaduxp-41fc1ccf4dfd91f17cf7cff804589a235a295159.tar.gz
Issue #1818 - Part 3: Remove more old gcc compiler hacks.
Diffstat (limited to 'js/src/gc')
-rw-r--r--js/src/gc/Heap.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/js/src/gc/Heap.h b/js/src/gc/Heap.h
index 2f27702601..2a10420943 100644
--- a/js/src/gc/Heap.h
+++ b/js/src/gc/Heap.h
@@ -80,9 +80,7 @@ enum InitialHeap {
};
/* The GC allocation kinds. */
-// 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 {
+enum class AllocKind : uint8_t {
FIRST,
OBJECT_FIRST = FIRST,
FUNCTION = FIRST,