Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Glasgow Haskell Compiler
GHC
Commits
493d09b4
Commit
493d09b4
authored
Mar 29, 2008
by
Ian Lynagh
Browse files
Fix warnings from primops.txt.pp
parent
8229ae19
Changes
1
Hide whitespace changes
Inline
Side-by-side
compiler/prelude/primops.txt.pp
View file @
493d09b4
...
@@ -1240,7 +1240,7 @@ primop CatchOp "catch#" GenPrimOp
...
@@ -1240,7 +1240,7 @@ primop CatchOp "catch#" GenPrimOp
primop
RaiseOp
"raise#"
GenPrimOp
primop
RaiseOp
"raise#"
GenPrimOp
a
->
b
a
->
b
with
with
strictness
=
{
\
arity
->
mkStrictSig
(
mkTopDmdType
[
lazyDmd
]
BotRes
)
}
strictness
=
{
\
_
arity
->
mkStrictSig
(
mkTopDmdType
[
lazyDmd
]
BotRes
)
}
--
NB
:
result
is
bottom
--
NB
:
result
is
bottom
out_of_line
=
True
out_of_line
=
True
...
@@ -1660,7 +1660,7 @@ section "Tag to enum stuff"
...
@@ -1660,7 +1660,7 @@ section "Tag to enum stuff"
primop
DataToTagOp
"dataToTag#"
GenPrimOp
primop
DataToTagOp
"dataToTag#"
GenPrimOp
a
->
Int
#
a
->
Int
#
with
with
strictness
=
{
\
arity
->
mkStrictSig
(
mkTopDmdType
[
seqDmd
]
TopRes
)
}
strictness
=
{
\
_
arity
->
mkStrictSig
(
mkTopDmdType
[
seqDmd
]
TopRes
)
}
--
dataToTag
# must have an evaluated argument
--
dataToTag
# must have an evaluated argument
primop
TagToEnumOp
"tagToEnum#"
GenPrimOp
primop
TagToEnumOp
"tagToEnum#"
GenPrimOp
...
...
Write
Preview
Markdown
is supported
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