Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Alex D
GHC
Commits
067d1b6c
Commit
067d1b6c
authored
May 21, 2007
by
Michael D. Adams
Browse files
Keep flattenCgStmts from emitting spurious 'goto' after CmmSwitch
parent
4a0d5a0d
Changes
1
Hide whitespace changes
Inline
Side-by-side
compiler/codeGen/CgMonad.lhs
View file @
067d1b6c
...
...
@@ -241,6 +241,7 @@ flattenCgStmts id stmts =
isJump (CmmJump _ _) = True
isJump (CmmBranch _) = True
isJump (CmmSwitch _ _) = True
isJump _ = False
isOrdinaryStmt (CgStmt _) = True
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment