mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1255223 - Null crash when logging weak maps. r=mccr8, a=ritu
This commit is contained in:
parent
ada7c8830d
commit
94fe31b1ee
@ -2470,8 +2470,9 @@ CCGraphBuilder::NoteWeakMapping(JSObject* aMap, JS::GCCellPtr aKey,
|
||||
mapping->mVal = aVal ? AddWeakMapNode(aVal) : nullptr;
|
||||
|
||||
if (mLogger) {
|
||||
mLogger->NoteWeakMapEntry((uint64_t)aMap, aKey.unsafeAsInteger(),
|
||||
(uint64_t)aKdelegate, aVal.unsafeAsInteger());
|
||||
mLogger->NoteWeakMapEntry((uint64_t)aMap, aKey ? aKey.unsafeAsInteger() : 0,
|
||||
(uint64_t)aKdelegate,
|
||||
aVal ? aVal.unsafeAsInteger() : 0);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user