The Trunk: Kernel-ul.549.mcz

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

The Trunk: Kernel-ul.549.mcz

commits-2
Levente Uzonyi uploaded a new version of Kernel to project The Trunk:
http://source.squeak.org/trunk/Kernel-ul.549.mcz

==================== Summary ====================

Name: Kernel-ul.549
Author: ul
Time: 28 February 2011, 12:23:58.143 pm
UUID: 63637401-6781-ce44-99e2-d3ac7f032112
Ancestors: Kernel-dtl.548, Kernel-hsj.547

Merged.

=============== Diff against Kernel-dtl.548 ===============

Item was changed:
  ----- Method: Behavior>>adoptInstance: (in category 'instance creation') -----
  adoptInstance: anInstance
  "Change the class of anInstance to me.
+ Primitive (found in Cog and new VMs)  follows the same rules as primitiveChangeClassTo:, but returns the class rather than the modified instance"
- Primitive (only found in Cog) should follow the same rules as described in primitiveChangeClassTo:"
 
  <primitive: 160 error: ec>
+ anInstance primitiveChangeClassTo: self basicNew.
+ ^self!
- ^anInstance primitiveChangeClassTo: self basicNew.!