Commit 25f1d5c5 authored by David Himmelstrup's avatar David Himmelstrup
Browse files

Don't init root pointers if they aren't gonna be used.

parent aaa34891
......@@ -856,7 +856,7 @@ static void
addRootObject(void *addr)
{
StgWord rt;
initRootPtrTable();
if (root_ptr_free == NULL) {
enlargeRootPtrTable();
}
......@@ -954,7 +954,6 @@ initLinker( void )
linker_init_done = 1;
}
initRootPtrTable();
stablehash = allocStrHashTable();
symhash = allocStrHashTable();
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment