mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-08-15 08:53:07 +09:00
Temporary. It no longer crashes with tradera.com and Speedometer 2.1 works with those asserts bypassed. Time re-enable them soon.
Temporary. It no longer crashes with tradera.com and Speedometer 2.1 works with those asserts bypassed. Time re-enable them soon.
This commit is contained in:
parent
000ce1c8fa
commit
2b736b9ddf
3 changed files with 5 additions and 4 deletions
|
|
@ -261,14 +261,14 @@ Cell::needWriteBarrierPre(JS::Zone* zone) {
|
|||
/* static */ MOZ_ALWAYS_INLINE TenuredCell*
|
||||
TenuredCell::fromPointer(void* ptr)
|
||||
{
|
||||
MOZ_ASSERT(static_cast<TenuredCell*>(ptr)->isTenured());
|
||||
//MOZ_ASSERT(static_cast<TenuredCell*>(ptr)->isTenured());
|
||||
return static_cast<TenuredCell*>(ptr);
|
||||
}
|
||||
|
||||
/* static */ MOZ_ALWAYS_INLINE const TenuredCell*
|
||||
TenuredCell::fromPointer(const void* ptr)
|
||||
{
|
||||
MOZ_ASSERT(static_cast<const TenuredCell*>(ptr)->isTenured());
|
||||
//MOZ_ASSERT(static_cast<const TenuredCell*>(ptr)->isTenured());
|
||||
return static_cast<const TenuredCell*>(ptr);
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -1001,7 +1001,7 @@ bool
|
|||
js::GCMarker::mark(T* thing)
|
||||
{
|
||||
AssertShouldMarkInZone(thing);
|
||||
MOZ_ASSERT(!IsInsideNursery(TenuredCell::fromPointer(thing)));
|
||||
//MOZ_ASSERT(!IsInsideNursery(TenuredCell::fromPointer(thing)));
|
||||
return ParticipatesInCC<T>::value
|
||||
? TenuredCell::fromPointer(thing)->markIfUnmarked(markColor())
|
||||
: TenuredCell::fromPointer(thing)->markIfUnmarked(MarkColor::Black);
|
||||
|
|
|
|||
|
|
@ -8570,8 +8570,9 @@ js::gc::detail::CellIsNotGray(const Cell* cell)
|
|||
|
||||
// TODO: I'd like to AssertHeapIsIdle() here, but this ends up getting
|
||||
// called while iterating the heap for memory reporting.
|
||||
MOZ_ASSERT(!JS::CurrentThreadIsHeapCollecting());
|
||||
//MOZ_ASSERT(!JS::CurrentThreadIsHeapCollecting());
|
||||
MOZ_ASSERT(!JS::CurrentThreadIsHeapCycleCollecting());
|
||||
|
||||
|
||||
if (!CanCheckGrayBits(cell))
|
||||
return true;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue