diff options
author | Ian Lynagh <igloo@earth.li> | 2012-06-13 12:13:00 +0100 |
---|---|---|
committer | Ian Lynagh <igloo@earth.li> | 2012-06-13 12:13:00 +0100 |
commit | d06edb8e93d6d19bbd898e2b2e26755598bb11f3 (patch) | |
tree | 88a6adbbd663f1a575c8b6a4d67f55ffd806ea2d /compiler/nativeGen/SPARC/CodeGen/Sanity.hs | |
parent | 2901e3ff1acaea9689d38e65b58080d515215414 (diff) | |
download | haskell-d06edb8e93d6d19bbd898e2b2e26755598bb11f3.tar.gz |
Remove PlatformOutputable
We can now get the Platform from the DynFlags inside an SDoc, so we
no longer need to pass the Platform in.
Diffstat (limited to 'compiler/nativeGen/SPARC/CodeGen/Sanity.hs')
-rw-r--r-- | compiler/nativeGen/SPARC/CodeGen/Sanity.hs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/compiler/nativeGen/SPARC/CodeGen/Sanity.hs b/compiler/nativeGen/SPARC/CodeGen/Sanity.hs index 78dbb1b493..3eea016124 100644 --- a/compiler/nativeGen/SPARC/CodeGen/Sanity.hs +++ b/compiler/nativeGen/SPARC/CodeGen/Sanity.hs @@ -32,7 +32,7 @@ checkBlock :: Platform -> NatBasicBlock Instr -> NatBasicBlock Instr -checkBlock platform cmm block@(BasicBlock _ instrs) +checkBlock _ cmm block@(BasicBlock _ instrs) | checkBlockInstrs instrs = block @@ -40,9 +40,9 @@ checkBlock platform cmm block@(BasicBlock _ instrs) = pprPanic ("SPARC.CodeGen: bad block\n") ( vcat [ text " -- cmm -----------------\n" - , pprPlatform platform cmm + , ppr cmm , text " -- native code ---------\n" - , pprPlatform platform block ]) + , ppr block ]) checkBlockInstrs :: [Instr] -> Bool |