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
df723689
Commit
df723689
authored
Jan 04, 2017
by
Gabor Greif
💬
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Typofixes in manual and comments [ci skip]
parent
6b3c0391
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
3 deletions
+3
-3
compiler/nativeGen/RegAlloc/Liveness.hs
compiler/nativeGen/RegAlloc/Liveness.hs
+1
-1
compiler/simplCore/Simplify.hs
compiler/simplCore/Simplify.hs
+1
-1
docs/users_guide/glasgow_exts.rst
docs/users_guide/glasgow_exts.rst
+1
-1
No files found.
compiler/nativeGen/RegAlloc/Liveness.hs
View file @
df723689
...
...
@@ -801,7 +801,7 @@ computeLiveness
->
[
SCC
(
LiveBasicBlock
instr
)]
->
([
SCC
(
LiveBasicBlock
instr
)],
-- instructions annotated with list of registers
-- which are "dead after this instruction".
BlockMap
RegSet
)
-- blocks anno
n
tated with set of live registers
BlockMap
RegSet
)
-- blocks annotated with set of live registers
-- on entry to the block.
computeLiveness
platform
sccs
...
...
compiler/simplCore/Simplify.hs
View file @
df723689
...
...
@@ -1437,7 +1437,7 @@ rebuildCall env (ArgInfo { ai_fun = fun, ai_args = rev_args, ai_strs = [] }) con
-- the continuation, leaving just the bottoming expression. But the
-- type might not be right, so we may have to add a coerce.
|
not
(
contIsTrivial
cont
)
-- Only do this if there is a non-trivial
=
return
(
env
,
castBottomExpr
res
cont_ty
)
-- contination to discard, else we do it
=
return
(
env
,
castBottomExpr
res
cont_ty
)
-- contin
u
ation to discard, else we do it
where
-- again and again!
res
=
argInfoExpr
fun
rev_args
cont_ty
=
contResultType
cont
...
...
docs/users_guide/glasgow_exts.rst
View file @
df723689
...
...
@@ -3872,7 +3872,7 @@ generates ::
instance Num Dollars
One can think of this instance being implement
at
ed with the same code as the
One can think of this instance being implemented with the same code as the
``Num Int`` instance, but with ``Dollars`` and ``getDollars`` added wherever
necessary in order to make it typecheck. (In practice, GHC uses a somewhat
different approach to code generation. See the :ref:`precise-gnd-specification`
...
...
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