[commit: ghc] master: remove dead code (6a9e521)

Simon Marlow marlowsd at gmail.com
Wed Jan 4 16:10:57 CET 2012


Repository : ssh://darcs.haskell.org//srv/darcs/ghc

On branch  : master

http://hackage.haskell.org/trac/ghc/changeset/6a9e521713cb4cbc3c49fa861aa936730c346e5e

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

commit 6a9e521713cb4cbc3c49fa861aa936730c346e5e
Author: Simon Marlow <marlowsd at gmail.com>
Date:   Wed Jan 4 13:59:15 2012 +0000

    remove dead code

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

 compiler/codeGen/ClosureInfo.lhs |    7 +------
 1 files changed, 1 insertions(+), 6 deletions(-)

diff --git a/compiler/codeGen/ClosureInfo.lhs b/compiler/codeGen/ClosureInfo.lhs
index ac047ed..8dc86ab 100644
--- a/compiler/codeGen/ClosureInfo.lhs
+++ b/compiler/codeGen/ClosureInfo.lhs
@@ -43,7 +43,7 @@ module ClosureInfo (
         closureFunInfo, isKnownFun,
         funTag, funTagLFInfo, tagForArity, clHasCafRefs,
 
-	enterIdLabel, enterLocalIdLabel, enterReturnPtLabel,
+        enterIdLabel, enterReturnPtLabel,
 
 	nodeMustPointToIt, 
 	CallMethod(..), getCallMethod,
@@ -1032,11 +1032,6 @@ enterIdLabel id
   | tablesNextToCode = mkInfoTableLabel id
   | otherwise        = mkEntryLabel id
 
-enterLocalIdLabel :: Name -> CafInfo -> CLabel
-enterLocalIdLabel id
-  | tablesNextToCode = mkLocalInfoTableLabel id
-  | otherwise        = mkLocalEntryLabel id
-
 enterReturnPtLabel :: Unique -> CLabel
 enterReturnPtLabel name
   | tablesNextToCode = mkReturnInfoLabel name





More information about the Cvs-ghc mailing list