diff options
author | Ian Lynagh <igloo@earth.li> | 2012-05-29 21:37:30 +0100 |
---|---|---|
committer | Ian Lynagh <igloo@earth.li> | 2012-05-29 21:37:30 +0100 |
commit | 6d0df457256c76149f76f3d1067cdad7aaa3434c (patch) | |
tree | 7b6a03536b546689dcd744896f33af7f5cd6b649 | |
parent | 1bf927addf1951eec7ab3514733c9beab6de3cec (diff) | |
download | haskell-6d0df457256c76149f76f3d1067cdad7aaa3434c.tar.gz |
Remove some commented out code
-rw-r--r-- | 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 92ee0f4a44..dca108b8c5 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. |