mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 945844 - Fix build error when compiling with GGC enabled and initialise store buffer reentry check member r=sfink
This commit is contained in:
parent
d57acc87b4
commit
e5ae6935a1
@ -398,7 +398,8 @@ class StoreBuffer
|
||||
explicit StoreBuffer(JSRuntime *rt, const Nursery &nursery)
|
||||
: bufferVal(), bufferCell(), bufferSlot(), bufferWholeCell(),
|
||||
bufferRelocVal(), bufferRelocCell(), bufferGeneric(),
|
||||
runtime_(rt), nursery_(nursery), aboutToOverflow_(false), enabled_(false)
|
||||
runtime_(rt), nursery_(nursery), aboutToOverflow_(false), enabled_(false),
|
||||
entered(false)
|
||||
{
|
||||
}
|
||||
|
||||
|
@ -277,7 +277,7 @@ WeakMapPostWriteBarrier(JSRuntime *rt, ObjectValueMap *map, JSObject *key)
|
||||
* This will automatically ensure that barriers do not fire during GC.
|
||||
*/
|
||||
typedef WeakMap<JSObject *, Value> UnbarrieredObjectValueMap;
|
||||
typedef HashKeyRef<UnbarrieredObjectValueMap, JSObject *> Ref;
|
||||
typedef gc::HashKeyRef<UnbarrieredObjectValueMap, JSObject *> Ref;
|
||||
if (key && IsInsideNursery(rt, key))
|
||||
rt->gcStoreBuffer.putGeneric(Ref(reinterpret_cast<UnbarrieredObjectValueMap *>(map), key));
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user