X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=compiler%2FcodeGen%2FSMRep.lhs;h=28d17079e56aa2400d0dc00a17d69098816ea102;hb=579bc757533c8c9e5beabe5b21daddd922c1af75;hp=4bc122222eb51b80e90c30ae1dede86914063bbf;hpb=b7d7fe67db64e0f639ac4a91f9ec2690be7e6a7d;p=ghc-hetmet.git diff --git a/compiler/codeGen/SMRep.lhs b/compiler/codeGen/SMRep.lhs index 4bc1222..28d1707 100644 --- a/compiler/codeGen/SMRep.lhs +++ b/compiler/codeGen/SMRep.lhs @@ -43,7 +43,6 @@ module SMRep ( rET_SMALL, rET_BIG ) where -#include "HsVersions.h" #include "../includes/MachDeps.h" import Id @@ -53,6 +52,7 @@ import MachOp import StaticFlags import Constants import Outputable +import FastString import Data.Word \end{code} @@ -129,12 +129,12 @@ data CgRep deriving Eq instance Outputable CgRep where - ppr VoidArg = ptext SLIT("V_") - ppr PtrArg = ptext SLIT("P_") - ppr NonPtrArg = ptext SLIT("I_") - ppr LongArg = ptext SLIT("L_") - ppr FloatArg = ptext SLIT("F_") - ppr DoubleArg = ptext SLIT("D_") + ppr VoidArg = ptext (sLit "V_") + ppr PtrArg = ptext (sLit "P_") + ppr NonPtrArg = ptext (sLit "I_") + ppr LongArg = ptext (sLit "L_") + ppr FloatArg = ptext (sLit "F_") + ppr DoubleArg = ptext (sLit "D_") argMachRep :: CgRep -> MachRep argMachRep PtrArg = wordRep