[project @ 2003-09-11 16:46:15 by simonpj]
authorsimonpj <unknown>
Thu, 11 Sep 2003 16:46:15 +0000 (16:46 +0000)
committersimonpj <unknown>
Thu, 11 Sep 2003 16:46:15 +0000 (16:46 +0000)
commit424d45ae7a17cb085d41e5b3d85c699b7c9951ed
treecd0103b53bf9b6d4b5df7009b10e8fe82f126c16
parente4ef00a89d5df7540c0920ff3f49a713eca59847
[project @ 2003-09-11 16:46:15 by simonpj]
Make sure that exprIsTrivial responds "False" to
(scc "foo" x)

We do not treat (_scc_ "foo" x) as trivial, because
  a) it really generates code, (and a heap object when it's
     a function arg) to capture the cost centre
  b) see the note [SCC-and-exprIsTrivial] in Simplify.simplLazyBind
ghc/compiler/coreSyn/CoreUtils.lhs