mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 869733 - Assert we don't try to nursery allocate inside GC code; r=billm
--HG-- extra : rebase_source : 5cd269e8b904fba8cf80cd99c2ce9bea158e09b2
This commit is contained in:
parent
85749efb32
commit
81dec328b4
@ -68,6 +68,7 @@ js::Nursery::allocate(size_t size)
|
||||
{
|
||||
JS_ASSERT(size % ThingAlignment == 0);
|
||||
JS_ASSERT(position() % ThingAlignment == 0);
|
||||
JS_ASSERT(!runtime()->isHeapBusy());
|
||||
|
||||
if (position() + size > end())
|
||||
return NULL;
|
||||
|
Loading…
Reference in New Issue
Block a user