mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 966575 part 7.5 -- Assert descrs are pretenured in jit r=sfink
This commit is contained in:
parent
dc39632804
commit
0a7b36d8a9
@ -51,6 +51,11 @@ TypeDescrSetBuilder::TypeDescrSetBuilder()
|
||||
bool
|
||||
TypeDescrSetBuilder::insert(TypeDescr *descr)
|
||||
{
|
||||
// All type descriptors should be tenured, so it is safe to assume
|
||||
// that the pointers do not change during compilation, since no
|
||||
// major GC can overlap with compilation.
|
||||
JS_ASSERT(!GetIonContext()->runtime->isInsideNursery(descr));
|
||||
|
||||
if (invalid_)
|
||||
return true;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user