mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 510015: TM: more Allocator merge fallout in jsregexp.cpp, r=gal.
--HG-- extra : rebase_source : 7607da6f49cc355af49b73528c826d5888291eb9
This commit is contained in:
parent
9c489db37c
commit
7bddd2c62f
@ -3164,6 +3164,11 @@ class RegExpNativeCompiler {
|
||||
if (alloc->outOfMemory() || oom ||
|
||||
js_OverfullFragmento(tm, fragmento)) {
|
||||
fragmento->clearFrags();
|
||||
#ifdef DEBUG
|
||||
fragmento->labels->clear();
|
||||
delete lirbuf->names;
|
||||
lirbuf->names = new (&gc) LirNameMap(&gc, *alloc, fragmento->labels);
|
||||
#endif
|
||||
tm->reCodeAlloc->sweep();
|
||||
alloc->reset();
|
||||
lirbuf->clear();
|
||||
|
Loading…
Reference in New Issue
Block a user