[commit: ghc] master: Remove some commented out code (6d0df45)

Ian Lynagh igloo at earth.li
Wed May 30 20:55:13 CEST 2012


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

On branch  : master

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

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

commit 6d0df457256c76149f76f3d1067cdad7aaa3434c
Author: Ian Lynagh <igloo at earth.li>
Date:   Tue May 29 21:37:30 2012 +0100

    Remove some commented out code

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

 compiler/main/GHC.hs |    9 ---------
 1 files changed, 0 insertions(+), 9 deletions(-)

diff --git a/compiler/main/GHC.hs b/compiler/main/GHC.hs
index 92ee0f4..dca108b 100644
--- a/compiler/main/GHC.hs
+++ b/compiler/main/GHC.hs
@@ -856,15 +856,6 @@ compileToCoreModule = compileCore False
 -- as to return simplified and tidied Core.
 compileToCoreSimplified :: GhcMonad m => FilePath -> m CoreModule
 compileToCoreSimplified = compileCore True
-{-
--- | Provided for backwards-compatibility: compileToCore returns just the Core
--- bindings, but for most purposes, you probably want to call
--- compileToCoreModule.
-compileToCore :: GhcMonad m => FilePath -> m [CoreBind]
-compileToCore fn = do
-   mod <- compileToCoreModule session fn
-   return $ cm_binds mod
--}
 -- | Takes a CoreModule and compiles the bindings therein
 -- to object code. The first argument is a bool flag indicating
 -- whether to run the simplifier.





More information about the Cvs-ghc mailing list