summaryrefslogtreecommitdiff
path: root/compiler/simplCore/SimplCore.hs
diff options
context:
space:
mode:
authorBen Gamari <ben@smart-cactus.org>2015-06-22 12:35:02 +0200
committerBen Gamari <ben@smart-cactus.org>2015-07-16 23:12:19 +0200
commitae0e340195b3af8e34daecf4ecd21e571f9ccf74 (patch)
treefac5a5652fa6a194f04e22a39bff775d3ec6c702 /compiler/simplCore/SimplCore.hs
parente29c2acce0635565f549c917054203d0237bc803 (diff)
downloadhaskell-ae0e340195b3af8e34daecf4ecd21e571f9ccf74.tar.gz
CoreUtils: Move size utilities to CoreStats
This allows PprCore to use these functions. It will soon do so to enable CoreLint to output size annotations on top-level bindings.
Diffstat (limited to 'compiler/simplCore/SimplCore.hs')
-rw-r--r--compiler/simplCore/SimplCore.hs4
1 files changed, 2 insertions, 2 deletions
diff --git a/compiler/simplCore/SimplCore.hs b/compiler/simplCore/SimplCore.hs
index 88ca00f6a0..a6672507a9 100644
--- a/compiler/simplCore/SimplCore.hs
+++ b/compiler/simplCore/SimplCore.hs
@@ -19,8 +19,8 @@ import Rules ( mkRuleBase, unionRuleBase,
import PprCore ( pprCoreBindings, pprCoreExpr )
import OccurAnal ( occurAnalysePgm, occurAnalyseExpr )
import IdInfo
-import CoreUtils ( coreBindsSize, coreBindsStats, exprSize,
- mkTicks, stripTicksTop )
+import CoreStats ( coreBindsSize, coreBindsStats, exprSize )
+import CoreUtils ( mkTicks, stripTicksTop )
import CoreLint ( showPass, endPass, lintPassResult, dumpPassResult,
lintAnnots )
import Simplify ( simplTopBinds, simplExpr, simplRule )