[commit: ghc] ghc-8.0: LlvmCodeGen: Make it compile with ghc-7.8 (5830ffd)

git at git.haskell.org git at git.haskell.org
Sun Mar 13 22:33:58 UTC 2016


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

On branch  : ghc-8.0
Link       : http://ghc.haskell.org/trac/ghc/changeset/5830ffdbd4e579bdf2bf8c02bd00ec1c1ae0a165/ghc

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

commit 5830ffdbd4e579bdf2bf8c02bd00ec1c1ae0a165
Author: Erik de Castro Lopo <erikd at mega-nerd.com>
Date:   Sun Mar 13 23:35:55 2016 +0100

    LlvmCodeGen: Make it compile with ghc-7.8
    
    Test Plan: Build
    
    Reviewers: bgamari, austin
    
    Subscribers: thomie
    
    Differential Revision: https://phabricator.haskell.org/D2003
    
    GHC Trac Issues: #11705


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

5830ffdbd4e579bdf2bf8c02bd00ec1c1ae0a165
 compiler/llvmGen/LlvmCodeGen.hs | 1 +
 1 file changed, 1 insertion(+)

diff --git a/compiler/llvmGen/LlvmCodeGen.hs b/compiler/llvmGen/LlvmCodeGen.hs
index 872ad8c..80fffea 100644
--- a/compiler/llvmGen/LlvmCodeGen.hs
+++ b/compiler/llvmGen/LlvmCodeGen.hs
@@ -31,6 +31,7 @@ import UniqSupply
 import SysTools ( figureLlvmVersion )
 import qualified Stream
 
+import Control.Applicative ( (<$>), pure )
 import Control.Monad ( when )
 import Data.Maybe ( fromMaybe, catMaybes )
 import System.IO



More information about the ghc-commits mailing list