[commit: ghc] master: Add `{-# LANGUAGE MagicHash #-}` in output of `genprimopcode` (0620241)

git at git.haskell.org git at git.haskell.org
Sun Oct 27 09:01:23 UTC 2013


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

On branch  : master
Link       : http://ghc.haskell.org/trac/ghc/changeset/0620241a0f09d1ff865fa575eadb61aa59d2fe4f/ghc

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

commit 0620241a0f09d1ff865fa575eadb61aa59d2fe4f
Author: Herbert Valerio Riedel <hvr at gnu.org>
Date:   Sun Oct 27 09:59:48 2013 +0100

    Add `{-# LANGUAGE MagicHash #-}` in output of `genprimopcode`
    
    Signed-off-by: Herbert Valerio Riedel <hvr at gnu.org>


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

0620241a0f09d1ff865fa575eadb61aa59d2fe4f
 utils/genprimopcode/Main.hs |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/utils/genprimopcode/Main.hs b/utils/genprimopcode/Main.hs
index 8b97ca1..382b43c 100644
--- a/utils/genprimopcode/Main.hs
+++ b/utils/genprimopcode/Main.hs
@@ -649,7 +649,7 @@ gen_latex_doc (Info defaults entries)
 
 gen_wrappers :: Info -> String
 gen_wrappers (Info _ entries)
-   = "{-# LANGUAGE CPP, NoImplicitPrelude, UnboxedTuples #-}\n"
+   = "{-# LANGUAGE CPP, MagicHash, NoImplicitPrelude, UnboxedTuples #-}\n"
         -- Dependencies on Prelude must be explicit in libraries/base, but we
         -- don't need the Prelude here so we add NoImplicitPrelude.
      ++ "module GHC.PrimopWrappers where\n" 



More information about the ghc-commits mailing list