X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=ghc%2Fcompiler%2FnativeGen%2FStixPrim.lhs;h=40a2ad49ecad6fd73419180a064a295799c0a22e;hb=1d87bd263e2d7cbaf08fed9c5ee2edba8124e4ea;hp=b1514947d1806ba320bdf860e5704e384e79cda1;hpb=c49a6ca90100722cd6942322d32b64b4142a08a7;p=ghc-hetmet.git diff --git a/ghc/compiler/nativeGen/StixPrim.lhs b/ghc/compiler/nativeGen/StixPrim.lhs index b151494..40a2ad4 100644 --- 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