X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=rts%2FRtsStartup.c;h=6ed837ab6c291236472e7bf2c3eeeeaaf8d1738b;hb=ac834f4821d2189a335d289a8d36e5fa70f1512d;hp=d7a8d954a27cd7c794c91db74046f1bc5b04b79a;hpb=ae03da75d16d5d6e00c6f12102846509060a1138;p=ghc-hetmet.git diff --git a/rts/RtsStartup.c b/rts/RtsStartup.c index d7a8d95..6ed837a 100644 --- a/rts/RtsStartup.c +++ b/rts/RtsStartup.c @@ -119,12 +119,6 @@ hs_init(int *argc, char **argv[]) */ stat_startInit(); -#if defined(DEBUG) - /* Start off by initialising the allocator debugging so we can - * use it anywhere */ - initAllocator(); -#endif - /* Set the RTS flags to default values. */ initRtsFlagsDefaults(); @@ -456,11 +450,6 @@ hs_exit_(rtsBool wait_foreign) // heap memory (e.g. by being passed a ByteArray#). freeStorage(wait_foreign); -#if defined(DEBUG) - /* and shut down the allocator debugging */ - shutdownAllocator(); -#endif - } // The real hs_exit():