X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=compiler%2FcodeGen%2FCgMonad.lhs;fp=compiler%2FcodeGen%2FCgMonad.lhs;h=b96db8022eda052492fc12d9da2e2753920fe438;hb=5f00461a637a25a6facecda2d9b0a2c0a44e9008;hp=8723e46d2acff3ceb863d4a082875e761db79020;hpb=e85fc273bafab43692ee4e33a2e77144e170dca9;p=ghc-hetmet.git diff --git a/compiler/codeGen/CgMonad.lhs b/compiler/codeGen/CgMonad.lhs index 8723e46..b96db80 100644 --- a/compiler/codeGen/CgMonad.lhs +++ b/compiler/codeGen/CgMonad.lhs @@ -247,6 +247,7 @@ flattenCgStmts id stmts = isJump (CmmJump _ _) = True isJump (CmmBranch _) = True isJump (CmmSwitch _ _) = True +isJump (CmmReturn _) = True isJump _ = False isOrdinaryStmt (CgStmt _) = True