mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-02 07:05:24 +00:00
Fixed some valgrind whinings (not actual bug fixes).
This commit is contained in:
parent
1772a314c6
commit
6b88cafdd8
@ -2110,8 +2110,8 @@ js_InitJIT(JSTraceMonitor *tm)
|
||||
fragmento->assm()->setCallTable(builtins);
|
||||
fragmento->pageFree(fragmento->pageAlloc()); // FIXME: prime page cache
|
||||
tm->fragmento = fragmento;
|
||||
tm->globalSlots = new SlotList();
|
||||
tm->globalTypeMap = new TypeMap();
|
||||
tm->globalSlots = new (&gc) SlotList();
|
||||
tm->globalTypeMap = new (&gc) TypeMap();
|
||||
}
|
||||
#if !defined XP_WIN
|
||||
debug_only(memset(&stat, 0, sizeof(stat)));
|
||||
|
Loading…
Reference in New Issue
Block a user