[project @ 2005-02-25 12:50:48 by simonpj]
authorsimonpj <unknown>
Fri, 25 Feb 2005 12:50:48 +0000 (12:50 +0000)
committersimonpj <unknown>
Fri, 25 Feb 2005 12:50:48 +0000 (12:50 +0000)
Profiling addition

ghc/compiler/simplCore/SimplCore.lhs

index 7593adb..32c6978 100644 (file)
@@ -476,7 +476,7 @@ simplifyPgm mode switches hsc_env us rule_base guts
                --      case t of {(_,counts') -> if counts'=0 then ... }
                -- So the conditional didn't force counts', because the
                -- selection got duplicated.  Sigh!
-          case initSmpl dflags us1 (simplTopBinds simpl_env tagged_binds) of {
+          case initSmpl dflags us1 (_scc_ "SimplTopBinds" simplTopBinds simpl_env tagged_binds) of {
                (binds', counts') -> do {
 
           let  { guts'      = guts { mg_binds = binds' }