mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-08 16:58:38 +09:00
903519 - Strings in the nursery: barriers
Cell.h was missed after headers split to nursery support. Third crash.
This commit is contained in:
parent
6acf628a7b
commit
2f815b1d5b
1 changed files with 5 additions and 1 deletions
|
|
@ -246,7 +246,11 @@ Cell::storeBuffer() const
|
|||
inline JS::TraceKind
|
||||
Cell::getTraceKind() const
|
||||
{
|
||||
return isTenured() ? asTenured().getTraceKind() : JS::TraceKind::Object;
|
||||
if (isTenured())
|
||||
return asTenured().getTraceKind();
|
||||
if (js::shadow::String::nurseryCellIsString(this))
|
||||
return JS::TraceKind::String;
|
||||
return JS::TraceKind::Object;
|
||||
}
|
||||
|
||||
/* static */ MOZ_ALWAYS_INLINE bool
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue