summaryrefslogtreecommitdiff
path: root/compiler/stgSyn
diff options
context:
space:
mode:
authorSimon Marlow <marlowsd@gmail.com>2012-09-25 16:03:36 +0100
committerSimon Marlow <marlowsd@gmail.com>2012-09-25 16:13:17 +0100
commit16206a6603e87e15d61c57456267c5f7ba68050e (patch)
tree1c5577358d3c50adf44ef3dadbfa85c53a3ef27d /compiler/stgSyn
parent3473e213941b74a1074ec0cde77c0eeccf885e03 (diff)
downloadhaskell-16206a6603e87e15d61c57456267c5f7ba68050e.tar.gz
Remove some old-codegen cruft
Diffstat (limited to 'compiler/stgSyn')
-rw-r--r--compiler/stgSyn/StgSyn.lhs12
1 files changed, 1 insertions, 11 deletions
diff --git a/compiler/stgSyn/StgSyn.lhs b/compiler/stgSyn/StgSyn.lhs
index e5c525e4c3..8d00f94ead 100644
--- a/compiler/stgSyn/StgSyn.lhs
+++ b/compiler/stgSyn/StgSyn.lhs
@@ -38,7 +38,7 @@ module StgSyn (
isDllConApp,
stgArgType,
- pprStgBinding, pprStgBindings, pprStgBindingsWithSRTs,
+ pprStgBinding, pprStgBindings,
pprStgLVs
) where
@@ -651,16 +651,6 @@ pprStgBinding bind = pprGenStgBinding bind
pprStgBindings :: [StgBinding] -> SDoc
pprStgBindings binds = vcat (map pprGenStgBinding binds)
-pprGenStgBindingWithSRT :: (OutputableBndr bndr, Outputable bdee, Ord bdee)
- => (GenStgBinding bndr bdee,[(Id,[Id])]) -> SDoc
-pprGenStgBindingWithSRT (bind,srts)
- = vcat $ pprGenStgBinding bind : map pprSRT srts
- where pprSRT (id,srt) =
- ptext (sLit "SRT") <> parens (ppr id) <> ptext (sLit ": ") <> ppr srt
-
-pprStgBindingsWithSRTs :: [(StgBinding,[(Id,[Id])])] -> SDoc
-pprStgBindingsWithSRTs binds = vcat (map pprGenStgBindingWithSRT binds)
-
instance (Outputable bdee) => Outputable (GenStgArg bdee) where
ppr = pprStgArg