Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Shayne Fletcher
Glasgow Haskell Compiler
Commits
3cf60503
Commit
3cf60503
authored
Aug 07, 2012
by
Simon Marlow
Browse files
fix maybeSaveCostCentre: cases were reversed
parent
5c3f13f0
Changes
1
Hide whitespace changes
Inline
Side-by-side
compiler/codeGen/StgCmmExpr.hs
View file @
3cf60503
...
...
@@ -432,8 +432,8 @@ cgCase scrut bndr alt_type alts
-----------------
maybeSaveCostCentre
::
Bool
->
FCode
(
Maybe
LocalReg
)
maybeSaveCostCentre
simple_scrut
|
simple_scrut
=
saveCurrentCostCentre
|
otherwise
=
return
Nothing
|
simple_scrut
=
return
Nothing
|
otherwise
=
saveCurrentCostCentre
-----------------
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a 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