summaryrefslogtreecommitdiff
path: root/compiler/cmm/CmmCvt.hs
diff options
context:
space:
mode:
Diffstat (limited to 'compiler/cmm/CmmCvt.hs')
-rw-r--r--compiler/cmm/CmmCvt.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/cmm/CmmCvt.hs b/compiler/cmm/CmmCvt.hs
index 017d120d84..4830691a22 100644
--- a/compiler/cmm/CmmCvt.hs
+++ b/compiler/cmm/CmmCvt.hs
@@ -109,7 +109,7 @@ ofZgraph g = Old.ListGraph $ mapMaybe convert_block $ postorderDfs g
| otherwise -> [Old.CmmCondBranch expr tid, Old.CmmBranch fid]
CmmSwitch arg ids -> [Old.CmmSwitch arg ids]
-- ToDo: STG Live
- CmmCall e _ r _ _ _ -> [Old.CmmJump e (Just r)]
+ CmmCall e _ r _ _ _ -> [Old.CmmJump e r]
CmmForeignCall {} -> panic "ofZgraph: CmmForeignCall"
tail_of bid = case foldBlockNodesB3 (first, middle, last) block () of
Old.BasicBlock _ stmts -> stmts