diff options
| author | Ian Lynagh <igloo@earth.li> | 2011-10-02 01:31:05 +0100 |
|---|---|---|
| committer | Ian Lynagh <igloo@earth.li> | 2011-10-02 16:39:08 +0100 |
| commit | ac7a7eb93397a2343402f77f1a8a8b4a0e0298df (patch) | |
| tree | 86fae1d7598b2ddb94b1c00906468eb54af9a48e /compiler/nativeGen/PprBase.hs | |
| parent | d8d161749c8b13c3db802f348761cff662741c53 (diff) | |
| download | haskell-ac7a7eb93397a2343402f77f1a8a8b4a0e0298df.tar.gz | |
More CPP removal: pprDynamicLinkerAsmLabel in CLabel
And some knock-on changes
Diffstat (limited to 'compiler/nativeGen/PprBase.hs')
| -rw-r--r-- | compiler/nativeGen/PprBase.hs | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/compiler/nativeGen/PprBase.hs b/compiler/nativeGen/PprBase.hs index 5b9000cfca..5a50a79cae 100644 --- a/compiler/nativeGen/PprBase.hs +++ b/compiler/nativeGen/PprBase.hs @@ -18,6 +18,7 @@ module PprBase ( where import qualified Outputable +import Platform import CLabel import Pretty @@ -40,9 +41,9 @@ asmSDoc d = Outputable.withPprStyleDoc (Outputable.mkCodeStyle Outputable.AsmStyle) d -pprCLabel_asm :: CLabel -> Doc -pprCLabel_asm l - = asmSDoc (pprCLabel l) +pprCLabel_asm :: Platform -> CLabel -> Doc +pprCLabel_asm platform l + = asmSDoc (pprCLabel platform l) -- ----------------------------------------------------------------------------- |
