summaryrefslogtreecommitdiff
path: root/www/firefox/patches/patch-js__src__gc__Marking.cpp
blob: 7e12924b1fb17a02c0f85761edbf9efd9b599d19 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
$NetBSD: patch-js__src__gc__Marking.cpp,v 1.1 2013/06/21 23:11:42 ryoon Exp $

# HG changeset patch
# User Martin Husemann <martin@netbsd.org>
# Date 1370038993 -7200
# Node ID d16914942a9c502dde37dce2a1deb09050218ba8
# Parent  d296fcc8f3dd6254c862cdfd47a5580ee05a94f4
Bug 871101:  Make "kind" a full uintptr_t value so it overwrites its pointer union counterpart for sure r=billm

diff js/src/gc/Marking.cpp js/src/gc/Marking.cpp
--- js/src/gc/Marking.cpp
+++ js/src/gc/Marking.cpp
@@ -1199,17 +1199,17 @@ gc::PushArena(GCMarker *gcmarker, ArenaH
         break;
     }
 }
 
 struct SlotArrayLayout
 {
     union {
         HeapSlot *end;
-        HeapSlot::Kind kind;
+        uintptr_t kind;
     };
     union {
         HeapSlot *start;
         uintptr_t index;
     };
     JSObject *obj;
 
     static void staticAsserts() {