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-04-01 15:28:20 by sof]
[ghc-hetmet.git]
/
ghc
/
compiler
/
nativeGen
/
StixPrim.lhs
diff --git
a/ghc/compiler/nativeGen/StixPrim.lhs
b/ghc/compiler/nativeGen/StixPrim.lhs
index
b151494
..
40a2ad4
100644
(file)
--- a/
ghc/compiler/nativeGen/StixPrim.lhs
+++ b/
ghc/compiler/nativeGen/StixPrim.lhs
@@
-184,7
+184,7
@@
amodeToStix (CLit core)
= case core of
MachChar c -> StInt (toInteger c)
MachStr s -> StString s
- MachAddr a -> StInt a
+ MachNullAddr -> StInt 0
MachInt i -> StInt i
MachWord w -> case word2IntLit core of MachInt iw -> StInt iw
MachLitLit s _ -> litLitErr