Add support for producing position-independent executables
[ghc.git] / compiler / codeGen / StgCmmArgRep.hs
index 9821b0a..969e14f 100644 (file)
@@ -64,7 +64,8 @@ argRepString V64 = "V64"
 
 toArgRep :: PrimRep -> ArgRep
 toArgRep VoidRep           = V
-toArgRep PtrRep            = P
+toArgRep LiftedRep         = P
+toArgRep UnliftedRep       = P
 toArgRep IntRep            = N
 toArgRep WordRep           = N
 toArgRep AddrRep           = N