[squeak-dev] The Trunk: Kernel-eem.706.mcz

commits at source.squeak.org commits at source.squeak.org
Mon Jul 23 21:04:15 UTC 2012

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

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

Name: Kernel-eem.706
Author: eem
Time: 23 July 2012, 2:03:27.407 pm
UUID: 0e281a27-0e2d-42e5-ab2f-11f4cbabe6ca
Ancestors: Kernel-dtl.705

Remove redundant code in CompiledMethod>>copyWithTrailerBytes: that worked around an obsolete bug

=============== Diff against Kernel-dtl.705 ===============

Item was changed:
  ----- Method: CompiledMethod>>copyWithTrailerBytes: (in category 'copying') -----
  copyWithTrailerBytes: trailer
  	(CompiledMethod compiledMethodAt: #copyWithTrailerBytes:)
  		tempNamesPut: 'copy end '
  	| copy end start penultimateLiteral |
  	start := self initialPC.
  	end := self endPC.
  	copy := trailer createMethod: end - start + 1 class: self class header: self header.
  	1 to: self numLiterals do: [:i | copy literalAt: i put: (self literalAt: i)].
  	(penultimateLiteral := self penultimateLiteral) isMethodProperties ifTrue:
  		[copy penultimateLiteral: (penultimateLiteral copy
  									setMethod: copy;
+ 									yourself)].
- 									yourself).
- 		 self pragmas do:
- 			[:p| p setMethod: self]].
  	start to: end do: [:i | copy at: i put: (self at: i)].

More information about the Squeak-dev mailing list