Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Open sidebar
Alfredo Di Napoli
GHC
Commits
766b11ea
Commit
766b11ea
authored
Feb 15, 2021
by
Andreas Klebinger
Committed by
Marge Bot
Feb 18, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove leftover trace messages from the keepAlive# work.
parent
94bbc45d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
4 deletions
+2
-4
compiler/GHC/CoreToStg/Prep.hs
compiler/GHC/CoreToStg/Prep.hs
+2
-4
No files found.
compiler/GHC/CoreToStg/Prep.hs
View file @
766b11ea
...
...
@@ -806,9 +806,8 @@ cpeApp top_env expr
:
CpeApp
arg
:
CpeApp
s0
:
CpeApp
k
:
rest
<-
pprTrace
"cpe_app keepAlive#"
(
ppr
args
)
args
=
do
{
pprTraceM
"cpe_app(keepAlive#)"
(
ppr
n
)
;
y
<-
newVar
result_ty
:
rest
<-
args
=
do
{
y
<-
newVar
result_ty
;
s2
<-
newVar
realWorldStatePrimTy
;
-- beta reduce if possible
;
(
floats
,
k'
)
<-
case
k
of
...
...
@@ -818,7 +817,6 @@ cpeApp top_env expr
expr
=
Case
k'
y
result_ty
[
Alt
DEFAULT
[]
rhs
]
rhs
=
let
scrut
=
mkApps
(
Var
touchId
)
[
Type
arg_rep
,
Type
arg_ty
,
arg
,
Var
realWorldPrimId
]
in
Case
scrut
s2
result_ty
[
Alt
DEFAULT
[]
(
Var
y
)]
;
pprTraceM
"cpe_app(keepAlive)"
(
ppr
expr
)
;
(
floats'
,
expr'
)
<-
cpeBody
env
expr
;
return
(
floats
`
appendFloats
`
floats'
,
expr'
)
}
...
...
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