[Pkg] The Trunk: Kernel-dtl.370.mcz

commits at source.squeak.org commits at source.squeak.org
Tue Jan 5 02:49:45 UTC 2010


David T. Lewis uploaded a new version of Kernel to project The Trunk:
http://source.squeak.org/trunk/Kernel-dtl.370.mcz

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

Name: Kernel-dtl.370
Author: dtl
Time: 4 January 2010, 9:45:19 am
UUID: e0308f0f-c9ab-41a3-b016-838ddac89d75
Ancestors: Kernel-ar.369

Update CompiledMethod>>initialPC to use #wordSize. This is the method as implemented in the original 64-bit image (author di).

Reference Mantis 7430: CompiledMethod>> initialPC calculation is wrong for 64bit images

=============== Diff against Kernel-ar.369 ===============

Item was changed:
  ----- Method: CompiledMethod>>initialPC (in category 'accessing') -----
  initialPC
  	"Answer the program counter for the receiver's first bytecode."
  
+ 	^ (self numLiterals + 1) * Smalltalk wordSize + 1
+ !
- 	^ (self numLiterals + 1) * 4 + 1!



More information about the Packages mailing list