Fixes.
This commit is contained in:
win7-7 2026-01-10 21:32:07 +02:00 committed by wuggy
commit f2979fc5f0
2 changed files with 2 additions and 2 deletions

View file

@ -2954,7 +2954,7 @@ IsMarkedInternal(JSRuntime* rt, JSObject** thingp)
if (IsInsideNursery(*thingp)) {
MOZ_ASSERT(CurrentThreadCanAccessRuntime(rt));
Cell** cellp = reinterpret_cast<Cell**>(thingp);
return rt->gc.nursery.getForwardedPointer(cellp);
return Nursery::getForwardedPointer(cellp);
}
return IsMarkedInternalCommon(thingp);
}

View file

@ -107,7 +107,7 @@ class TenuringTracer : public JSTracer
inline JSObject* movePlainObjectToTenured(PlainObject* src);
JSObject* moveToTenuredSlow(JSObject* src);
JSString* moveToTenuredSlow(JSString* src);
JSString* moveToTenured(JSString* src);
size_t moveElementsToTenured(NativeObject* dst, NativeObject* src, gc::AllocKind dstKind);
size_t moveSlotsToTenured(NativeObject* dst, NativeObject* src, gc::AllocKind dstKind);
size_t moveStringToTenured(JSString* dst, JSString* src, gc::AllocKind dstKind);