[project @ 2003-04-01 15:28:20 by sof]
[ghc-hetmet.git] / ghc / compiler / nativeGen / StixPrim.lhs
index b151494..40a2ad4 100644 (file)
@@ -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