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:
cb205eb
)
[project @ 2005-05-05 11:19:42 by simonmar]
author
simonmar
<unknown>
Thu, 5 May 2005 11:19:42 +0000
(11:19 +0000)
committer
simonmar
<unknown>
Thu, 5 May 2005 11:19:42 +0000
(11:19 +0000)
Sanity fix for SMP
ghc/rts/Sanity.c
patch
|
blob
|
history
diff --git
a/ghc/rts/Sanity.c
b/ghc/rts/Sanity.c
index
a3bd96f
..
89c1a7e
100644
(file)
--- a/
ghc/rts/Sanity.c
+++ b/
ghc/rts/Sanity.c
@@
-280,7
+280,7
@@
checkClosure( StgClosure* p )
for (i = 0; i < info->layout.payload.ptrs; i++) {
ASSERT(LOOKS_LIKE_CLOSURE_PTR(((StgThunk *)p)->payload[i]));
}
- return stg_max(sizeW_fromITBL(info), sizeofW(StgHeader)+MIN_UPD_SIZE);
+ return stg_max(thunk_sizeW_fromITBL(info), sizeofW(StgHeader)+MIN_UPD_SIZE);
}
case FUN: