[Pkg] The Trunk: Kernel-eem.502.mcz

commits at source.squeak.org commits at source.squeak.org
Sun Sep 26 03:32:13 UTC 2010

Eliot Miranda uploaded a new version of Kernel to project The Trunk:

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

Name: Kernel-eem.502
Author: eem
Time: 25 September 2010, 8:31:12.094 pm
UUID: 2cf495fb-5958-4ba2-afdc-18caf380caef
Ancestors: Kernel-eem.501

include ContextPart>>objectSize: amongst the mirror primitives

=============== Diff against Kernel-eem.501 ===============

Item was added:
+ ----- Method: ContextPart>>objectSize: (in category 'mirror primitives') -----
+ objectSize: anObject
+ 	"Answer the number of indexable variables in the argument anObject without sending
+ 	 it a message. This mimics the action of the VM when it fetches an object's variable size.
+ 	 Used to simulate the execution machinery by, for example, the debugger.
+ 	 Primitive.  See Object documentation whatIsAPrimitive."
+ 	<primitive: 62>
+ 	"The number of indexable fields of fixed-length objects is 0"
+ 	^0!

More information about the Packages mailing list