Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Alex D
GHC
Commits
f96fcdc9
Commit
f96fcdc9
authored
Jun 28, 2007
by
Michael D. Adams
Browse files
Remove unused parameter in force_gc_block for CPS
parent
63b9fc6e
Changes
1
Hide whitespace changes
Inline
Side-by-side
compiler/cmm/CmmCPS.hs
View file @
f96fcdc9
...
...
@@ -79,7 +79,7 @@ make_gc_block block_id fun_label formals safety = BasicBlock block_id stmts
actuals
=
map
(
\
x
->
(
CmmReg
(
CmmLocal
x
),
NoHint
))
formals
fun_expr
=
CmmLit
(
CmmLabel
fun_label
)
force_gc_block
old_info
block_id
fun_label
formals
blocks
=
force_gc_block
old_info
block_id
fun_label
formals
=
case
old_info
of
CmmNonInfo
(
Just
_
)
->
(
old_info
,
[]
)
CmmInfo
_
(
Just
_
)
_
_
->
(
old_info
,
[]
)
...
...
@@ -114,7 +114,7 @@ cpsProc uniqSupply (CmmProc info ident params blocks) = info_procs
-- Ensure that
forced_gc
::
(
CmmInfo
,
[
CmmBasicBlock
])
forced_gc
=
force_gc_block
info
(
BlockId
gc_unique
)
ident
params
blocks
forced_gc
=
force_gc_block
info
(
BlockId
gc_unique
)
ident
params
forced_info
=
fst
forced_gc
forced_blocks
=
blocks
++
snd
forced_gc
...
...
Write
Preview
Supports
Markdown
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