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
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
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
alexbiehl-gc
GHC
Commits
62d7d226
Commit
62d7d226
authored
24 years ago
by
Julian Seward
Browse files
Options
Downloads
Patches
Plain Diff
[project @ 2000-10-12 12:31:11 by sewardj]
Julians progress
parent
0b8c23bc
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
ghc/compiler/Makefile
+2
-2
2 additions, 2 deletions
ghc/compiler/Makefile
ghc/compiler/main/HscMain.lhs
+10
-4
10 additions, 4 deletions
ghc/compiler/main/HscMain.lhs
with
12 additions
and
6 deletions
ghc/compiler/Makefile
+
2
−
2
View file @
62d7d226
# -----------------------------------------------------------------------------
# $Id: Makefile,v 1.9
4
2000/10/1
0
1
3:13
:1
7
s
imonmar
Exp $
# $Id: Makefile,v 1.9
5
2000/10/1
2
1
2:31
:1
1
s
ewardj
Exp $
TOP
=
..
include
$(TOP)/mk/boilerplate.mk
...
...
@@ -361,7 +361,7 @@ parser/Parser.hs : parser/Parser.y
#-----------------------------------------------------------------------------
# Linking
SRC_LD_OPTS
+=
-no-link-chk
SRC_LD_OPTS
+=
-no-link-chk
-ldl
ifneq
"$(GhcWithHscBuiltViaC)" "YES"
ifeq
"$(GhcReportCompiles)" "YES"
...
...
This diff is collapsed.
Click to expand it.
ghc/compiler/main/HscMain.lhs
+
10
−
4
View file @
62d7d226
...
...
@@ -60,12 +60,18 @@ hscMain
-> IO HscResult
hscMain flags core_cmds stg_cmds summary maybe_old_iface
output_filename mod_details pcs =
output_filename mod_details pcs
1
=
-------------------------- Reader ----------------
show_pass "Parser" >>
_scc_ "Parser"
let src_filename -- name of the preprocessed source file
= case ms_ppsource summary of
Just (filename, fingerprint) -> filename
Nothing -> pprPanic "hscMain:summary is not of a source module"
(ppr summary)
buf <- hGetStringBuffer True{-expand tabs-} src_filename
let glaexts | opt_GlasgowExts = 1#
...
...
@@ -75,7 +81,7 @@ hscMain flags core_cmds stg_cmds summary maybe_old_iface
context = [], glasgow_exts = glaexts,
loc = mkSrcLoc src_filename 1 } of {
PFailed err -> return (CompErrs pcs err)
;
PFailed err -> return (CompErrs pcs err)
POk _ rdr_module@(HsModule mod_name _ _ _ _ _ _) ->
...
...
@@ -132,11 +138,11 @@ hscMain flags core_cmds stg_cmds summary maybe_old_iface
-------------------------- Main Core-language transformations ----------------
_scc_ "Core2Core"
core2core core_cmds desugared rules
>>= \ (simplified, orphan_rules) ->
core2core core_cmds desugared rules >>= \ (simplified, orphan_rules) ->
-- Do the final tidy-up
tidyCorePgm tidy_uniqs this_mod
simplified orphan_rules
>>= \ (tidy_binds, tidy_orphan_rules) ->
simplified orphan_rules >>= \ (tidy_binds, tidy_orphan_rules) ->
-- Run the occurrence analyser one last time, so that
-- dead binders get dead-binder info. This is exploited by
...
...
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