Commit 4d15b247 authored by Simon Marlow's avatar Simon Marlow
Browse files

another stableptr003 fix

parent 74ee9df9
......@@ -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;
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment