-
Simon Marlow authored
Turn the weighted reference count in a StablePtr into a simple counter in the stable ptr table. We never made use of the weighted count, and it caused problems when making many StablePtrs to the same object. In the future we could remove the reference counting altogether and just make a new StablePtr each time, rather than attempting to use an existing one. This would save on the hash table lookup at creation time.
560bf0f6