summaryrefslogtreecommitdiff
path: root/utils/genprimopcode
diff options
context:
space:
mode:
authorHerbert Valerio Riedel <hvr@gnu.org>2013-10-27 09:59:48 +0100
committerHerbert Valerio Riedel <hvr@gnu.org>2013-10-27 10:01:07 +0100
commit0620241a0f09d1ff865fa575eadb61aa59d2fe4f (patch)
treecdb2f8ba66ac75ad55ee6b8c6a7327012b7c49a5 /utils/genprimopcode
parentedea03af1c85dda847aa9e559b153fd43dbba177 (diff)
downloadhaskell-0620241a0f09d1ff865fa575eadb61aa59d2fe4f.tar.gz
Add `{-# LANGUAGE MagicHash #-}` in output of `genprimopcode`
Signed-off-by: Herbert Valerio Riedel <hvr@gnu.org>
Diffstat (limited to 'utils/genprimopcode')
-rw-r--r--utils/genprimopcode/Main.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/genprimopcode/Main.hs b/utils/genprimopcode/Main.hs
index 8b97ca169c..382b43cd13 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"