X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=compiler%2FcodeGen%2FCgMonad.lhs;h=22462e79e57cbbcd61c1e7b7cac43dd55f9aa9ca;hb=49ea1fa53acd2569b0b74c86a981b0d3779515dd;hp=4f95c9b36a8a8e1d189d6b2b80aa6f42eb242e43;hpb=0065d5ab628975892cea1ec7303f968c3338cbe1;p=ghc-hetmet.git diff --git a/compiler/codeGen/CgMonad.lhs b/compiler/codeGen/CgMonad.lhs index 4f95c9b..22462e7 100644 --- a/compiler/codeGen/CgMonad.lhs +++ b/compiler/codeGen/CgMonad.lhs @@ -220,7 +220,7 @@ flattenCgStmts id stmts = -- Eliminating these has to be done with a dead-code analysis. For now, -- we just make it into a well-formed block by adding a recursive jump. flatten [CgLabel id] - = ( [], [BasicBlock id [CmmBranch id]] ) + = ( [CmmBranch id], [BasicBlock id [CmmBranch id]] ) -- A jump/branch: throw away all the code up to the next label, because -- it is unreachable. Be careful to keep forks that we find on the way.