projects
/
ghc-hetmet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[project @ 2003-12-10 14:15:16 by simonmar]
[ghc-hetmet.git]
/
ghc
/
compiler
/
coreSyn
/
MkExternalCore.lhs
diff --git
a/ghc/compiler/coreSyn/MkExternalCore.lhs
b/ghc/compiler/coreSyn/MkExternalCore.lhs
index
66fa971
..
8ad5c7f
100644
(file)
--- a/
ghc/compiler/coreSyn/MkExternalCore.lhs
+++ b/
ghc/compiler/coreSyn/MkExternalCore.lhs
@@
-164,9
+164,7
@@
make_alt (DEFAULT,[],e) = C.Adefault (make_exp e)
make_lit :: Literal -> C.Lit
make_lit l =
case l of
make_lit :: Literal -> C.Lit
make_lit l =
case l of
- MachChar i | i <= 0xff -> C.Lchar (chr i) t
- MachChar i | otherwise -> C.Lint (toEnum i) t
- -- For big characters, use an integer literal with a character type sig
+ MachChar i -> C.Lchar i t
MachStr s -> C.Lstring (unpackFS s) t
MachNullAddr -> C.Lint 0 t
MachInt i -> C.Lint i t
MachStr s -> C.Lstring (unpackFS s) t
MachNullAddr -> C.Lint 0 t
MachInt i -> C.Lint i t