The Trunk: Kernel-eem.898.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-eem.898.mcz

commits-2
Eliot Miranda uploaded a new version of Kernel to project The Trunk:
http://source.squeak.org/trunk/Kernel-eem.898.mcz

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

Name: Kernel-eem.898
Author: eem
Time: 2 February 2015, 1:54:44.676 pm
UUID: ee76d58d-255c-464c-aa5e-0b88a264907c
Ancestors: Kernel-mt.897

Use the brace construct in becomeForward:.  Relax
the comment in the become implementations to
include Spur immediates.

=============== Diff against Kernel-mt.897 ===============

Item was changed:
  ----- Method: ProtoObject>>become: (in category 'system primitives') -----
  become: otherObject
  "Primitive. Swap the object pointers of the receiver and the argument.
+ All variables in the entire system that used to point to the receiver
+ now point to the argument, and vice-versa.
+ Fails if either object is an immediate such as a SmallInteger."
- All variables in the entire system that used to point to the
- receiver now point to the argument, and vice-versa.
- Fails if either object is a SmallInteger"
 
  {self} elementsExchangeIdentityWith: {otherObject}!

Item was changed:
  ----- Method: ProtoObject>>becomeForward: (in category 'system primitives') -----
  becomeForward: otherObject
  "Primitive. All variables in the entire system that used to point
+ to the receiver now point to the argument.
+ Fails if either argument is an immediate such as a SmallInteger."
- to the receiver now point to the argument.
- Fails if either argument is a SmallInteger."
 
+ {self} elementsForwardIdentityTo: {otherObject}!
- (Array with: self)
- elementsForwardIdentityTo:
- (Array with: otherObject)!

Item was changed:
  ----- Method: ProtoObject>>becomeForward:copyHash: (in category 'system primitives') -----
  becomeForward: otherObject copyHash: copyHash
+ "Primitive. All variables in the entire system that used to point to
+ the receiver now point to the argument. If copyHash is true, the
+ argument's identity hash bits will be set to those of the receiver.
+ Fails if either argument is an immediate such as a SmallInteger."
- "Primitive. All variables in the entire system that used to point to the receiver now point to the argument.
- If copyHash is true, the argument's identity hash bits will be set to those of the receiver.
- Fails if either argument is a SmallInteger."
 
+ {self}
+ elementsForwardIdentityTo: {otherObject}
+ copyHash: copyHash!
- (Array with: self)
- elementsForwardIdentityTo:
- (Array with: otherObject)
- copyHash: copyHash!