Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Glasgow Haskell Compiler
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Iterations
Merge Requests
0
Merge Requests
0
Requirements
Requirements
List
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Package Registry
Container Registry
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
Shayne Fletcher
Glasgow Haskell Compiler
Commits
577f3da7
Commit
577f3da7
authored
Apr 04, 2017
by
Gabor Greif
💬
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Typos in comments [ci skip]
parent
ce9b6170
Changes
9
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
10 additions
and
10 deletions
+10
-10
compiler/hsSyn/HsExpr.hs
compiler/hsSyn/HsExpr.hs
+1
-1
compiler/llvmGen/LlvmCodeGen/CodeGen.hs
compiler/llvmGen/LlvmCodeGen/CodeGen.hs
+1
-1
compiler/nativeGen/RegAlloc/Graph/SpillCost.hs
compiler/nativeGen/RegAlloc/Graph/SpillCost.hs
+1
-1
compiler/specialise/SpecConstr.hs
compiler/specialise/SpecConstr.hs
+1
-1
compiler/typecheck/TcRnDriver.hs
compiler/typecheck/TcRnDriver.hs
+1
-1
compiler/utils/Util.hs
compiler/utils/Util.hs
+1
-1
libraries/template-haskell/Language/Haskell/TH/Ppr.hs
libraries/template-haskell/Language/Haskell/TH/Ppr.hs
+1
-1
rts/STM.c
rts/STM.c
+2
-2
testsuite/tests/deSugar/should_run/dsrun002.hs
testsuite/tests/deSugar/should_run/dsrun002.hs
+1
-1
No files found.
compiler/hsSyn/HsExpr.hs
View file @
577f3da7
...
...
@@ -1612,7 +1612,7 @@ type GuardLStmt id = LStmt id (LHsExpr id)
-- | Guard Statement
type
GuardStmt
id
=
Stmt
id
(
LHsExpr
id
)
-- | Ghci Located Statemnt
-- | Ghci Located Statem
e
nt
type
GhciLStmt
id
=
LStmt
id
(
LHsExpr
id
)
-- | Ghci Statement
...
...
compiler/llvmGen/LlvmCodeGen/CodeGen.hs
View file @
577f3da7
...
...
@@ -62,7 +62,7 @@ genLlvmProc _ = panic "genLlvmProc: case that shouldn't reach here!"
--
-- | Generate code for a list of blocks that make up a complete
-- procedure. The first block in the list is ex
e
pected to be the entry
-- procedure. The first block in the list is expected to be the entry
-- point and will get the prologue.
basicBlocksCodeGen
::
LiveGlobalRegs
->
[
CmmBlock
]
->
LlvmM
([
LlvmBasicBlock
],
[
LlvmCmmDecl
])
...
...
compiler/nativeGen/RegAlloc/Graph/SpillCost.hs
View file @
577f3da7
...
...
@@ -165,7 +165,7 @@ chooseSpill info graph
-- cost = sum loadCost * freq (u) + sum storeCost * freq (d)
-- u <- uses (v) d <- defs (v)
--
-- There are no loops in our code at the mome
m
nt, so we can set the freq's to 1.
-- There are no loops in our code at the moment, so we can set the freq's to 1.
--
-- If we don't have live range splitting then Chaitins function performs badly
-- if we have lots of nested live ranges and very few registers.
...
...
compiler/specialise/SpecConstr.hs
View file @
577f3da7
...
...
@@ -1749,7 +1749,7 @@ the passed-in RuleInfo, unless there are no calls at all to the function.
The caller can, indeed must, assume this. He should not combine in rhs_usg
himself, or he'll get rhs_usg twice -- and that can lead to an exponential
blowup of duplicates in the CallEnv. This is what gave rise to the massive
performace loss in Trac #8852.
performa
n
ce loss in Trac #8852.
Note [Specialise original body]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
...
...
compiler/typecheck/TcRnDriver.hs
View file @
577f3da7
...
...
@@ -2012,7 +2012,7 @@ tcUserStmt (L loc (BodyStmt expr _ _ _))
;
when
(
isUnitTy
$
it_ty
)
failM
;
return
stuff
},
-- Plan B; a naked bind statment
-- Plan B; a naked bind stat
e
ment
tcGhciStmts
[
bind_stmt
],
-- Plan C; check that the let-binding is typeable all by itself.
...
...
compiler/utils/Util.hs
View file @
577f3da7
...
...
@@ -309,7 +309,7 @@ splitEithers (e : es) = case e of
where
(
xs
,
ys
)
=
splitEithers
es
chkAppend
::
[
a
]
->
[
a
]
->
[
a
]
-- Checks for the second argu
em
nt being empty
-- Checks for the second argu
me
nt being empty
-- Used in situations where that situation is common
chkAppend
xs
ys
|
null
ys
=
xs
...
...
libraries/template-haskell/Language/Haskell/TH/Ppr.hs
View file @
577f3da7
...
...
@@ -150,7 +150,7 @@ pprExp i (LamCaseE ms) = parensIf (i > noPrec)
pprExp
_
(
TupE
es
)
=
parens
(
commaSep
es
)
pprExp
_
(
UnboxedTupE
es
)
=
hashParens
(
commaSep
es
)
pprExp
_
(
UnboxedSumE
e
alt
arity
)
=
unboxedSumBars
(
ppr
e
)
alt
arity
-- Nesting in Cond is to avoid potential problems in do statments
-- Nesting in Cond is to avoid potential problems in do stat
e
ments
pprExp
i
(
CondE
guard
true
false
)
=
parensIf
(
i
>
noPrec
)
$
sep
[
text
"if"
<+>
ppr
guard
,
nest
1
$
text
"then"
<+>
ppr
true
,
...
...
rts/STM.c
View file @
577f3da7
...
...
@@ -1395,7 +1395,7 @@ StgBool stmCommitTransaction(Capability *cap, StgTRecHeader *trec) {
}
if
(
result
)
{
// We now know that all of the read-only locations held their ex
ep
cted values
// We now know that all of the read-only locations held their ex
pe
cted values
// at the end of the call to validate_and_acquire_ownership. This forms the
// linearization point of the commit.
...
...
@@ -1472,7 +1472,7 @@ StgBool stmCommitNestedTransaction(Capability *cap, StgTRecHeader *trec) {
result
=
check_read_only
(
trec
);
}
if
(
result
)
{
// We now know that all of the read-only locations held their ex
ep
cted values
// We now know that all of the read-only locations held their ex
pe
cted values
// at the end of the call to validate_and_acquire_ownership. This forms the
// linearization point of the commit.
...
...
testsuite/tests/deSugar/should_run/dsrun002.hs
View file @
577f3da7
{- Tests let-expressions in do-statments -}
{- Tests let-expressions in do-stat
e
ments -}
module
Main
(
main
)
where
...
...
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