Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Alex D
GHC
Commits
894864ea
Commit
894864ea
authored
Feb 06, 2009
by
Simon Marlow
Browse files
add an assertion
parent
5f7079b9
Changes
1
Hide whitespace changes
Inline
Side-by-side
rts/parallel/WSDeque.c
View file @
894864ea
...
...
@@ -151,6 +151,7 @@ popWSDeque (WSDeque *q)
q
->
topBound
=
t
+
1
;
/* ...and cached top value as well */
ASSERT_WSDEQUE_INVARIANTS
(
q
);
ASSERT
(
q
->
bottom
>=
q
->
top
);
return
removed
;
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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