Patrick R. Michaud wrote:
This ended up being discussed on IRC -- just to complete this thread I'll note that we settled on the 'typeof' opcode to return the class (or PMCProxy) object for a PMC: $P1 = typeof $P0 # $P1 is class object / PMC proxy of $P0
And committed on the pdd15oo branch in r21614. Allison