| WeakPtrRep
| ForeignObjRep
+ | BCORep
- | StablePtrRep -- We could replace this with IntRep but maybe
- -- there's some documentation gain from having
- -- it special? [ADR]
+ | StablePtrRep -- guaranteed to be represented by a pointer
| StableNameRep -- A stable name is a real heap object, unpointed,
-- with one field containing an index into the
showPrimRepToUser :: PrimRep -> String
showPrimRep PtrRep = "P_" -- short for StgPtr
-
-showPrimRep CodePtrRep = "P_" -- DEATH to StgFunPtr! (94/02/22 WDP)
-showPrimRep PtrRep = "P_" -- short for StgPtr
showPrimRep CodePtrRep = "P_" -- DEATH to StgFunPtr! (94/02/22 WDP)
showPrimRep DataPtrRep = "D_"
showPrimRep RetRep = "P_"