[project @ 2003-01-30 10:19:07 by simonmar]
authorsimonmar <unknown>
Thu, 30 Jan 2003 10:19:07 +0000 (10:19 +0000)
committersimonmar <unknown>
Thu, 30 Jan 2003 10:19:07 +0000 (10:19 +0000)
commit674e4a46c238dfde609204e27516a629c1ede879
tree19d933c69b87cbd27325ed006679fd3379765ae9
parent858255ab48783ac56fe13cf75a32ccfee3372b26
[project @ 2003-01-30 10:19:07 by simonmar]
Quick fix for profiling after I broke it in rev. 1.68.

The profiling system needs some initialisation after module
registration (hs_add_root()).  Since module registration now happens
later, the profiling system was getting initialised too early before
any cost centers had been registered.  This is a quick fix; we still
can't handle multiple hs_add_root()s with profiling.
ghc/rts/RtsStartup.c