mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1158569 - Don't trigger sweeping of dead type information when scanning unboxed objects in minor GCs, r=terrence.
This commit is contained in:
parent
5ec92c71a3
commit
92194e4db8
@ -550,7 +550,7 @@ js::Nursery::traceObject(MinorCollectionTracer* trc, JSObject* obj)
|
||||
JSObject** pexpando = obj->as<UnboxedPlainObject>().addressOfExpando();
|
||||
if (*pexpando)
|
||||
markObject(trc, pexpando);
|
||||
const UnboxedLayout& layout = obj->as<UnboxedPlainObject>().layout();
|
||||
const UnboxedLayout& layout = obj->as<UnboxedPlainObject>().layoutDontCheckGeneration();
|
||||
if (layout.traceList()) {
|
||||
markTraceList(trc, layout.traceList(),
|
||||
obj->as<UnboxedPlainObject>().data());
|
||||
|
Loading…
Reference in New Issue
Block a user