summaryrefslogtreecommitdiff
path: root/js/src/gc/Heap.h
diff options
context:
space:
mode:
authorMoonchild <moonchild@palemoon.org>2022-03-02 20:07:06 +0000
committerMoonchild <moonchild@palemoon.org>2022-03-02 20:07:06 +0000
commit872bfa373ddfc184e17caf1ba38dbb02ed9c37f0 (patch)
tree1d8272b66c35248b34d2df6f172c10a9ed1c57d3 /js/src/gc/Heap.h
parent904aa57090afbadb92438be951ddd1a2ba17a900 (diff)
downloadGRE-872bfa373ddfc184e17caf1ba38dbb02ed9c37f0.tar.gz
Issue #15 - Part 3: Remove more old gcc compiler hacks.
Diffstat (limited to 'js/src/gc/Heap.h')
-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 2f2770260..2a1042094 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,