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:
ef0a4dd
)
Fix a sanity check; fixes #3089
author
Ian Lynagh
<igloo@earth.li>
Wed, 12 Aug 2009 13:38:17 +0000
(13:38 +0000)
committer
Ian Lynagh
<igloo@earth.li>
Wed, 12 Aug 2009 13:38:17 +0000
(13:38 +0000)
rts/Sanity.c
patch
|
blob
|
history
diff --git
a/rts/Sanity.c
b/rts/Sanity.c
index
d666d57
..
49bbff7
100644
(file)
--- a/
rts/Sanity.c
+++ b/
rts/Sanity.c
@@
-236,7
+236,7
@@
checkPAP (StgClosure *tagged_fun, StgClosure** payload, StgWord n_args)
break;
}
- ASSERT(fun_info->f.arity > TAG_MASK ? GET_CLOSURE_TAG(tagged_fun) == 1
+ ASSERT(fun_info->f.arity > TAG_MASK ? GET_CLOSURE_TAG(tagged_fun) == 0
: GET_CLOSURE_TAG(tagged_fun) == fun_info->f.arity);
}