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
Alex D
GHC
Commits
0714abaf
Commit
0714abaf
authored
Apr 07, 2010
by
Simon Marlow
Browse files
get the reg liveness right in the putMVar# heap check
parent
a7005b67
Changes
1
Hide whitespace changes
Inline
Side-by-side
rts/PrimOps.cmm
View file @
0714abaf
...
...
@@ -1326,7 +1326,7 @@ stg_putMVarzh
if
(
StgMVar_value
(
mvar
)
!=
stg_END_TSO_QUEUE_closure
)
{
// see Note [mvar-heap-check] above
HP_CHK_GEN_TICKY
(
SIZEOF_StgMVarTSOQueue
,
R1_PTR
|
R2_PTR
,
stg_putMVarzh
);
HP_CHK_GEN_TICKY
(
SIZEOF_StgMVarTSOQueue
,
R1_PTR
&
R2_PTR
,
stg_putMVarzh
);
q
=
Hp
-
SIZEOF_StgMVarTSOQueue
+
WDS
(
1
);
...
...
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