diff options
author | Simon Marlow <marlowsd@gmail.com> | 2010-02-16 12:35:44 +0000 |
---|---|---|
committer | Simon Marlow <marlowsd@gmail.com> | 2010-02-16 12:35:44 +0000 |
commit | 32578fc55ac105aa3bd08ef6aa607bfdbe375eec (patch) | |
tree | 32ebf60fa936d15fc3453f7256013fbe55163cec /rts/Capability.h | |
parent | c44aaa1087388b0555a6026b11af2433e86136d0 (diff) | |
download | haskell-32578fc55ac105aa3bd08ef6aa607bfdbe375eec.tar.gz |
disable a false assertion, with a comment to explain why
Diffstat (limited to 'rts/Capability.h')
-rw-r--r-- | rts/Capability.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/rts/Capability.h b/rts/Capability.h index 35b920321b..4b51548564 100644 --- a/rts/Capability.h +++ b/rts/Capability.h @@ -294,7 +294,8 @@ recordMutableCap (StgClosure *p, Capability *cap, nat gen) bdescr *bd; // We must own this Capability in order to modify its mutable list. - ASSERT(cap->running_task == myTask()); + // ASSERT(cap->running_task == myTask()); + // NO: assertion is violated by performPendingThrowTos() bd = cap->mut_lists[gen]; if (bd->free >= bd->start + BLOCK_SIZE_W) { bdescr *new_bd; |