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
Glasgow Haskell Compiler
GHC
Commits
000be170
Commit
000be170
authored
Oct 18, 2007
by
Simon Marlow
Browse files
fix warnings when compiling via C
parent
8aa44328
Changes
1
Hide whitespace changes
Inline
Side-by-side
rts/PrimOps.cmm
View file @
000be170
...
...
@@ -1498,7 +1498,7 @@ takeMVarzh_fast
#endif
if
(
info
==
stg_MVAR_CLEAN_info
)
{
foreign
"
C
"
dirty_MVAR
(
BaseReg
"
ptr
"
,
mvar
);
foreign
"
C
"
dirty_MVAR
(
BaseReg
"
ptr
"
,
mvar
"
ptr
"
);
}
/* If the MVar is empty, put ourselves on its blocking queue,
...
...
@@ -1595,7 +1595,7 @@ tryTakeMVarzh_fast
}
if
(
info
==
stg_MVAR_CLEAN_info
)
{
foreign
"
C
"
dirty_MVAR
(
BaseReg
"
ptr
"
,
mvar
);
foreign
"
C
"
dirty_MVAR
(
BaseReg
"
ptr
"
,
mvar
"
ptr
"
);
}
/* we got the value... */
...
...
@@ -1661,7 +1661,7 @@ putMVarzh_fast
#endif
if
(
info
==
stg_MVAR_CLEAN_info
)
{
foreign
"
C
"
dirty_MVAR
(
BaseReg
"
ptr
"
,
mvar
);
foreign
"
C
"
dirty_MVAR
(
BaseReg
"
ptr
"
,
mvar
"
ptr
"
);
}
if
(
StgMVar_value
(
mvar
)
!=
stg_END_TSO_QUEUE_closure
)
{
...
...
@@ -1747,7 +1747,7 @@ tryPutMVarzh_fast
}
if
(
info
==
stg_MVAR_CLEAN_info
)
{
foreign
"
C
"
dirty_MVAR
(
BaseReg
"
ptr
"
,
mvar
);
foreign
"
C
"
dirty_MVAR
(
BaseReg
"
ptr
"
,
mvar
"
ptr
"
);
}
if
(
StgMVar_head
(
mvar
)
!=
stg_END_TSO_QUEUE_closure
)
{
...
...
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