projects
/
ghc-hetmet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bc2528b
)
add an assertion
author
Simon Marlow
<marlowsd@gmail.com>
Thu, 23 Oct 2008 15:45:51 +0000
(15:45 +0000)
committer
Simon Marlow
<marlowsd@gmail.com>
Thu, 23 Oct 2008 15:45:51 +0000
(15:45 +0000)
rts/Schedule.c
patch
|
blob
|
history
diff --git
a/rts/Schedule.c
b/rts/Schedule.c
index
e17c653
..
2e9d0dd
100644
(file)
--- a/
rts/Schedule.c
+++ b/
rts/Schedule.c
@@
-479,6
+479,7
@@
run_thread:
ASSERT_FULL_CAPABILITY_INVARIANTS(cap,task);
ASSERT(t->cap == cap);
+ ASSERT(t->bound ? t->bound->cap == cap : 1);
prev_what_next = t->what_next;