Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
GHC
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Terraform modules
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Gesh
GHC
Commits
a0017612
Commit
a0017612
authored
27 years ago
by
sof
Browse files
Options
Downloads
Patches
Plain Diff
[project @ 1997-10-19 21:42:34 by sof]
Drop use of opt_CompilingGhcInternals
parent
83e19fd5
Loading
Loading
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
ghc/compiler/profiling/SCCfinal.lhs
+3
-8
3 additions, 8 deletions
ghc/compiler/profiling/SCCfinal.lhs
with
3 additions
and
8 deletions
ghc/compiler/profiling/SCCfinal.lhs
+
3
−
8
View file @
a0017612
...
...
@@ -31,9 +31,7 @@ IMP_Ubiq(){-uitous-}
import StgSyn
import CmdLineOpts ( opt_AutoSccsOnIndividualCafs,
opt_CompilingGhcInternals
)
import CmdLineOpts ( opt_AutoSccsOnIndividualCafs )
import CostCentre -- lots of things
import Id ( idType, mkSysLocal, emptyIdSet, SYN_IE(Id) )
import SrcLoc ( noSrcLoc )
...
...
@@ -63,7 +61,7 @@ stgMassageForProfiling mod_name grp_name us stg_binds
= initMM mod_name us (mapMM do_top_binding stg_binds)
fixed_ccs
= if do_auto_sccs_on_cafs
|| doing_prelude
= if do_auto_sccs_on_cafs
then [] -- don't need "all CAFs" CC (for Prelude, we use PreludeCC)
else [all_cafs_cc]
...
...
@@ -73,11 +71,8 @@ stgMassageForProfiling mod_name grp_name us stg_binds
((fixed_ccs ++ local_ccs_no_dups, extern_ccs_no_dups), stg_binds2)
where
do_auto_sccs_on_cafs = opt_AutoSccsOnIndividualCafs -- only use!
doing_prelude = opt_CompilingGhcInternals
all_cafs_cc = if doing_prelude
then preludeCafsCostCentre
else mkAllCafsCC mod_name grp_name
all_cafs_cc = mkAllCafsCC mod_name grp_name
----------
do_top_binding :: StgBinding -> MassageM StgBinding
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment