Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Glasgow Haskell Compiler
GHC
Commits
f4722a9a
Commit
f4722a9a
authored
Apr 17, 2000
by
simonmar
Browse files
[project @ 2000-04-17 15:49:19 by simonmar]
Check for litlits and dll things when making top-level constrs.
parent
e1deb6b0
Changes
1
Hide whitespace changes
Inline
Side-by-side
ghc/compiler/profiling/SCCfinal.lhs
View file @
f4722a9a
...
...
@@ -108,9 +108,11 @@ stgMassageForProfiling mod_name us stg_binds
do_top_rhs :: Id -> StgRhs -> MassageM StgRhs
do_top_rhs binder (StgRhsClosure _ bi srt fv u [] (StgSCC cc (StgConApp con args)))
| not (isSccCountCostCentre cc)
| not (isSccCountCostCentre cc)
&& not (isDllConApp con args)
-- Trivial _scc_ around nothing but static data
-- Eliminate _scc_ ... and turn into StgRhsCon
-- isDllConApp checks for LitLit args too
= returnMM (StgRhsCon dontCareCCS con args)
{- Can't do this one with cost-centre stacks: --SDM
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment