[project @ 1999-11-04 10:15:50 by simonmar]
authorsimonmar <unknown>
Thu, 4 Nov 1999 10:15:50 +0000 (10:15 +0000)
committersimonmar <unknown>
Thu, 4 Nov 1999 10:15:50 +0000 (10:15 +0000)
Fix call to StgRun

ghc/rts/Profiling.c

index e6b5734..bbe2551 100644 (file)
@@ -1,5 +1,5 @@
 /* -----------------------------------------------------------------------------
- * $Id: Profiling.c,v 1.10 1999/11/02 15:05:59 simonmar Exp $
+ * $Id: Profiling.c,v 1.11 1999/11/04 10:15:50 simonmar Exp $
  *
  * (c) The GHC Team, 1998-1999
  *
@@ -240,7 +240,7 @@ registerCostCentres ( void )
    */
   register_stack = (F_ *)allocate(REGISTER_STACK_SIZE / sizeof(W_));
 
-  StgRun((StgFunPtr)stg_register);
+  StgRun((StgFunPtr)stg_register, &MainRegTable);
 }