projects
/
ghc-hetmet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5a7e686
)
Fix the CPS pass to pack the continuation with correct label form.
author
Michael D. Adams
<adamsmd@cs.indiana.edu>
Sat, 14 Jul 2007 18:49:55 +0000
(18:49 +0000)
committer
Michael D. Adams
<adamsmd@cs.indiana.edu>
Sat, 14 Jul 2007 18:49:55 +0000
(18:49 +0000)
It was using the return point label before; now it uses the info label.
compiler/cmm/CmmCPSGen.hs
patch
|
blob
|
history
diff --git
a/compiler/cmm/CmmCPSGen.hs
b/compiler/cmm/CmmCPSGen.hs
index
abea84f
..
5a98ae1
100644
(file)
--- a/
compiler/cmm/CmmCPSGen.hs
+++ b/
compiler/cmm/CmmCPSGen.hs
@@
-393,7
+393,7
@@
pack_continuation allow_header_set
_ -> isJust cont_id
maybe_header = if allow_header_set && needs_header_set
- then maybe Nothing (Just . CmmLit . CmmLabel) cont_id
+ then maybe Nothing (Just . CmmLit . CmmLabel . entryLblToInfoLbl) cont_id
else Nothing
pack_frame :: WordOff -- ^ Current frame size