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
ad6863b9
Commit
ad6863b9
authored
Aug 14, 1998
by
sof
Browse files
[project @ 1998-08-14 12:02:45 by sof]
okToUnfoldPrimOp: CCallOp update
parent
91b4fb8d
Changes
1
Hide whitespace changes
Inline
Side-by-side
ghc/compiler/coreSyn/CoreUnfold.lhs
View file @
ad6863b9
...
...
@@ -594,7 +594,7 @@ okToUnfoldInHiFile e = opt_UnfoldCasms || go e
BindDefault _ rhs -> rhs:ls
-- ok to unfold a PrimOp as long as it's not a _casm_
okToUnfoldPrimOp (CCallOp _ is_casm _ _ _) = not is_casm
okToUnfoldPrimOp _ = True
okToUnfoldPrimOp (CCallOp _ is_casm _ _
_
_) = not is_casm
okToUnfoldPrimOp _
= True
\end{code}
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