summaryrefslogtreecommitdiff
path: root/includes
diff options
context:
space:
mode:
authorIan Lynagh <ian@well-typed.com>2012-09-17 18:06:54 +0100
committerIan Lynagh <ian@well-typed.com>2012-09-17 18:06:54 +0100
commitf21dabc31b1125692d804f93ef470fe555f846ad (patch)
tree7eb709f43a73d42bc14a87e2445795197816ae15 /includes
parent10cc42243817e5b812946a231a129a9d88277046 (diff)
downloadhaskell-f21dabc31b1125692d804f93ef470fe555f846ad.tar.gz
Remove the Target* types from HaskellConstants
Diffstat (limited to 'includes')
-rw-r--r--includes/HaskellConstants.hs13
1 files changed, 0 insertions, 13 deletions
diff --git a/includes/HaskellConstants.hs b/includes/HaskellConstants.hs
index bf0e99e58e..5b7e3dd5eb 100644
--- a/includes/HaskellConstants.hs
+++ b/includes/HaskellConstants.hs
@@ -1,5 +1,4 @@
-import Data.Word
import Data.Int
-- This magical #include brings in all the everybody-knows-these magic
@@ -36,18 +35,6 @@ mAX_CONTEXT_REDUCTION_DEPTH = 200
wORD64_SIZE :: Int
wORD64_SIZE = 8
--- Define a fixed-range integral type equivalent to the target Int/Word
-
-#if SIZEOF_HSWORD == 4
-type TargetInt = Int32
-type TargetWord = Word32
-#elif SIZEOF_HSWORD == 8
-type TargetInt = Int64
-type TargetWord = Word64
-#else
-#error unknown SIZEOF_HSWORD
-#endif
-
tARGET_MAX_CHAR :: Int
tARGET_MAX_CHAR = 0x10ffff