diff options
author | Simon Marlow <marlowsd@gmail.com> | 2011-12-02 09:33:14 +0000 |
---|---|---|
committer | Simon Marlow <marlowsd@gmail.com> | 2011-12-02 13:11:44 +0000 |
commit | 6f4bde149e46146125d688d9ff719c2e5e0800c2 (patch) | |
tree | 5db8964035ecaf97e89e358ba7db227318022f62 /compiler/coreSyn | |
parent | b2d3c5576050a69c26a546ba10726618a72d4b67 (diff) | |
download | haskell-6f4bde149e46146125d688d9ff719c2e5e0800c2.tar.gz |
remove unused coreExprCc
Diffstat (limited to 'compiler/coreSyn')
-rw-r--r-- | compiler/coreSyn/CoreSyn.lhs | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/compiler/coreSyn/CoreSyn.lhs b/compiler/coreSyn/CoreSyn.lhs index 78c733d830..04bb9d4a68 100644 --- a/compiler/coreSyn/CoreSyn.lhs +++ b/compiler/coreSyn/CoreSyn.lhs @@ -38,7 +38,7 @@ module CoreSyn ( -- ** Simple 'Expr' access functions and predicates bindersOf, bindersOfBinds, rhssOfBind, rhssOfAlts, collectBinders, collectTyBinders, collectValBinders, collectTyAndValBinders, - collectArgs, coreExprCc, flattenBinds, + collectArgs, flattenBinds, isValArg, isTypeArg, isTyCoArg, valArgCount, valBndrCount, isRuntimeArg, isRuntimeVar, @@ -1184,14 +1184,6 @@ collectArgs expr go e as = (e, as) \end{code} -\begin{code} --- | Gets the cost centre enclosing an expression, if any. --- It looks inside lambdas because @(scc \"foo\" \\x.e) = \\x. scc \"foo\" e@ -coreExprCc :: Expr b -> CostCentre -coreExprCc (Tick (ProfNote { profNoteCC = cc}) _) = cc -coreExprCc _ = noCostCentre -\end{code} - %************************************************************************ %* * \subsection{Predicates} |