Commit 0c1341d3 authored by Michael D. Adams's avatar Michael D. Adams
Browse files

Fix the CPS pass to pack the continuation with correct label form.

It was using the return point label before; now it uses the info label.
parent 5a7e6864
......@@ -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
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment