#218: can't sort a PIR subclass of an RPA.
-------------------------+--------------------------------------------------
 Reporter:  coke         |        Owner:  whiteknight
     Type:  bug          |       Status:  reopened   
 Priority:  normal       |    Milestone:  1.5        
Component:  core         |      Version:             
 Severity:  high         |   Resolution:             
 Keywords:  tcl blocker  |         Lang:  tcl        
    Patch:               |     Platform:  all        
-------------------------+--------------------------------------------------

Comment(by allison):

 We don't really want to provide a way to get at the raw memory address of
 a PMC from PIR, because we want a copying/compacting garbage collector,
 which means the memory address can change. PIR code that relies on a
 consistent memory address for a PMC is broken.

 I'm fine with changing the name of the get_addr and set_addr opcodes to
 get_pointer and set_pointer to match the vtable functions. (Not
 get_label/set_label, because that's just as bad about imposing some set of
 semantics on the pointer, which can really be anything.)

 The call to Parrot_quicksort should be using a GET_ATTR accessor.

-- 
Ticket URL: <https://trac.parrot.org/parrot/ticket/218#comment:21>
Parrot <https://trac.parrot.org/parrot/>
Parrot Development
_______________________________________________
parrot-tickets mailing list
[email protected]
http://lists.parrot.org/mailman/listinfo/parrot-tickets

Reply via email to