Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Glasgow Haskell Compiler
GHC
Commits
5f00461a
Commit
5f00461a
authored
Jul 05, 2007
by
Michael D. Adams
Browse files
Ensure no statements after CmmReturn are emitted
parent
e85fc273
Changes
1
Hide whitespace changes
Inline
Side-by-side
compiler/codeGen/CgMonad.lhs
View file @
5f00461a
...
...
@@ -247,6 +247,7 @@ flattenCgStmts id stmts =
isJump (CmmJump _ _) = True
isJump (CmmBranch _) = True
isJump (CmmSwitch _ _) = True
isJump (CmmReturn _) = 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