Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
GHC
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
4,262
Issues
4,262
List
Boards
Labels
Service Desk
Milestones
Iterations
Merge Requests
419
Merge Requests
419
Requirements
Requirements
List
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Code Review
Insights
Issue
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Glasgow Haskell Compiler
GHC
Commits
b2e0323f
Commit
b2e0323f
authored
Jan 03, 2020
by
Gabor Greif
💬
Committed by
Ben Gamari
Jan 03, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Simplify mrStr
parent
b84c09d5
Pipeline
#14207
failed with stages
in 474 minutes and 2 seconds
Changes
3
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
10 deletions
+3
-10
compiler/cmm/CmmType.hs
compiler/cmm/CmmType.hs
+1
-8
compiler/main/DriverPipeline.hs
compiler/main/DriverPipeline.hs
+1
-1
compiler/main/Packages.hs
compiler/main/Packages.hs
+1
-1
No files found.
compiler/cmm/CmmType.hs
View file @
b2e0323f
...
...
@@ -175,14 +175,7 @@ instance Outputable Width where
ppr
rep
=
ptext
(
mrStr
rep
)
mrStr
::
Width
->
PtrString
mrStr
W8
=
sLit
(
"W8"
)
mrStr
W16
=
sLit
(
"W16"
)
mrStr
W32
=
sLit
(
"W32"
)
mrStr
W64
=
sLit
(
"W64"
)
mrStr
W128
=
sLit
(
"W128"
)
mrStr
W256
=
sLit
(
"W256"
)
mrStr
W512
=
sLit
(
"W512"
)
mrStr
=
sLit
.
show
-------- Common Widths ------------
...
...
compiler/main/DriverPipeline.hs
View file @
b2e0323f
...
...
@@ -1250,7 +1250,7 @@ runPhase (RealPhase cc_phase) input_fn dflags
-- pass -D or -optP to preprocessor when compiling foreign C files
-- (#16737). Doing it in this way is simpler and also enable the C
-- compiler to perform
s
preprocessing and parsing in a single pass,
-- compiler to perform preprocessing and parsing in a single pass,
-- but it may introduce inconsistency if a different pgm_P is specified.
let
more_preprocessor_opts
=
concat
[
[
"-Xpreprocessor"
,
i
]
...
...
compiler/main/Packages.hs
View file @
b2e0323f
...
...
@@ -1444,7 +1444,7 @@ mkPackageState dflags dbs preload0 = do
we build a mapping saying what every in scope module name points to.
-}
-- This, and the other reverse's that you will see, are due to the fac
e
that
-- This, and the other reverse's that you will see, are due to the fac
t
that
-- packageFlags, pluginPackageFlags, etc. are all specified in *reverse* order
-- than they are on the command line.
let
other_flags
=
reverse
(
packageFlags
dflags
)
...
...
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