mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
When traversing fragments, don't forget to count peers (bug 521169, r=gal).
This commit is contained in:
parent
40c01b04b7
commit
dbf3e1f3ca
@ -2808,6 +2808,12 @@ JSTraceMonitor::mark(JSTracer* trc)
|
||||
while (f) {
|
||||
if (TreeInfo* ti = (TreeInfo*)f->vmprivate)
|
||||
MarkTreeInfo(trc, ti);
|
||||
VMFragment* peer = (VMFragment*)f->peer;
|
||||
while (peer) {
|
||||
if (TreeInfo* ti = (TreeInfo*)peer->vmprivate)
|
||||
MarkTreeInfo(trc, ti);
|
||||
peer = (VMFragment*)peer->peer;
|
||||
}
|
||||
f = f->next;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user