mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
We expect no interned globals in a new tree. Assert on that.
This commit is contained in:
parent
7351e39b63
commit
01e3af1f79
@ -1495,6 +1495,9 @@ js_RecordTree(JSContext* cx, JSTraceMonitor* tm, Fragment* f)
|
||||
/* ensure the stack type map has the right length */
|
||||
ti->stackTypeMap.setLength(ti->entryNativeStackSlots);
|
||||
|
||||
/* we shouldn't have any interned globals for a new tree */
|
||||
JS_ASSERT(!ti->globalSlots.length());
|
||||
|
||||
/* update the coerced type of each active slot in the stack type map */
|
||||
uint8* map = ti->stackTypeMap.data();
|
||||
uint8* m = map;
|
||||
|
Loading…
Reference in New Issue
Block a user