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
jberryman
GHC
Commits
b48fc016
Commit
b48fc016
authored
Jun 11, 2009
by
Ian Lynagh
Browse files
Add missing StgPrimCallOp case to isSimpleOp
parent
f7344611
Changes
1
Hide whitespace changes
Inline
Side-by-side
compiler/codeGen/StgCmmExpr.hs
View file @
b48fc016
...
@@ -322,6 +322,7 @@ isSimpleOp :: StgOp -> Bool
...
@@ -322,6 +322,7 @@ isSimpleOp :: StgOp -> Bool
isSimpleOp
(
StgFCallOp
(
CCall
(
CCallSpec
_
_
safe
))
_
)
=
not
(
playSafe
safe
)
isSimpleOp
(
StgFCallOp
(
CCall
(
CCallSpec
_
_
safe
))
_
)
=
not
(
playSafe
safe
)
isSimpleOp
(
StgFCallOp
(
DNCall
_
)
_
)
=
False
-- Safe!
isSimpleOp
(
StgFCallOp
(
DNCall
_
)
_
)
=
False
-- Safe!
isSimpleOp
(
StgPrimOp
op
)
=
not
(
primOpOutOfLine
op
)
isSimpleOp
(
StgPrimOp
op
)
=
not
(
primOpOutOfLine
op
)
isSimpleOp
(
StgPrimCallOp
_
)
=
False
-----------------
-----------------
chooseReturnBndrs
::
Id
->
AltType
->
[
StgAlt
]
->
[
NonVoid
Id
]
chooseReturnBndrs
::
Id
->
AltType
->
[
StgAlt
]
->
[
NonVoid
Id
]
...
...
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