Commit 067d1b6c authored by Michael D. Adams's avatar Michael D. Adams
Browse files

Keep flattenCgStmts from emitting spurious 'goto' after CmmSwitch

parent 4a0d5a0d
......@@ -241,6 +241,7 @@ flattenCgStmts id stmts =
isJump (CmmJump _ _) = True
isJump (CmmBranch _) = True
isJump (CmmSwitch _ _) = True
isJump _ = False
isOrdinaryStmt (CgStmt _) = True
......
Markdown is supported
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