[commit: ghc] wip/T10613: Remove all mentions of IND_OLDGEN outside of docs/rts (fe95ed2)

git at git.haskell.org git at git.haskell.org
Mon Mar 21 15:13:23 UTC 2016


Repository : ssh://git@git.haskell.org/ghc

On branch  : wip/T10613
Link       : http://ghc.haskell.org/trac/ghc/changeset/fe95ed2f8c1461baa39b8112c352ea03390c3812/ghc

>---------------------------------------------------------------

commit fe95ed2f8c1461baa39b8112c352ea03390c3812
Author: Joachim Breitner <mail at joachim-breitner.de>
Date:   Fri Jan 22 10:31:25 2016 +0100

    Remove all mentions of IND_OLDGEN outside of docs/rts


>---------------------------------------------------------------

fe95ed2f8c1461baa39b8112c352ea03390c3812
 compiler/codeGen/StgCmmProf.hs | 3 +--
 rts/sm/Scav.c                  | 2 +-
 2 files changed, 2 insertions(+), 3 deletions(-)

diff --git a/compiler/codeGen/StgCmmProf.hs b/compiler/codeGen/StgCmmProf.hs
index c1b149d..434d7b5 100644
--- a/compiler/codeGen/StgCmmProf.hs
+++ b/compiler/codeGen/StgCmmProf.hs
@@ -328,8 +328,7 @@ ldvRecordCreate closure = do
 --
 -- | Called when a closure is entered, marks the closure as having
 -- been "used".  The closure is not an "inherently used" one.  The
--- closure is not @IND@ or @IND_OLDGEN@ because neither is considered
--- for LDV profiling.
+-- closure is not @IND@ because that is not considered for LDV profiling.
 --
 ldvEnterClosure :: ClosureInfo -> CmmReg -> FCode ()
 ldvEnterClosure closure_info node_reg = do
diff --git a/rts/sm/Scav.c b/rts/sm/Scav.c
index 953f055..abb7726 100644
--- a/rts/sm/Scav.c
+++ b/rts/sm/Scav.c
@@ -1533,7 +1533,7 @@ scavenge_one(StgPtr p)
         } else {
           size = gen->scan - start;
         }
-        debugBelch("evac IND_OLDGEN: %ld bytes", size * sizeof(W_));
+        debugBelch("evac IND: %ld bytes", size * sizeof(W_));
       }
 #endif
       break;



More information about the ghc-commits mailing list