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:
74ee9df
)
another stableptr003 fix
author
Simon Marlow
<marlowsd@gmail.com>
Mon, 9 Jun 2008 19:17:22 +0000
(19:17 +0000)
committer
Simon Marlow
<marlowsd@gmail.com>
Mon, 9 Jun 2008 19:17:22 +0000
(19:17 +0000)
rts/Stable.c
patch
|
blob
|
history
diff --git
a/rts/Stable.c
b/rts/Stable.c
index
046fb3b
..
a2c47d7
100644
(file)
--- a/
rts/Stable.c
+++ b/
rts/Stable.c
@@
-218,6
+218,9
@@
lookupStableName_(StgPtr p)
*/
p = (StgPtr)removeIndirections((StgClosure*)p);
+ // register the untagged pointer. This just makes things simpler.
+ p = (StgPtr)UNTAG_CLOSURE((StgClosure*)p);
+
sn_tmp = lookupHashTable(addrToStableHash,(W_)p);
sn = (StgWord)sn_tmp;