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

commits at source.squeak.org commits at source.squeak.org
Wed Dec 12 06:25:25 UTC 2018

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

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

Name: Kernel-eem.1204
Author: eem
Time: 11 December 2018, 10:25:21.771318 pm
UUID: 6984fae9-5e2c-4093-b962-d51a825e3176
Ancestors: Kernel-nice.1203

For teh benefit of proxies avoid withArgs:executeMethod: in CompiledMethod>>valueWithReceiver:arguments:.  Have CompiledMethod class>>receiver:withArguments:executeMethod: expect the primitiv e is available in that form and fail rather than fall back on withArgs:executeMethod:.

=============== Diff against Kernel-nice.1203 ===============

Item was changed:
  ----- Method: CompiledMethod class>>receiver:withArguments:executeMethod: (in category 'evaluating') -----
  receiver: receiver withArguments: argArray executeMethod: compiledMethod
  	"Execute compiledMethod against the receiver and the arguments in argArray"
+ 	<primitive: 188 error: ec>
+ 	self primitiveFailed!
- 	<primitive: 188>
- 	^receiver withArgs: argArray executeMethod: compiledMethod!

Item was changed:
  ----- Method: CompiledMethod>>valueWithReceiver:arguments: (in category 'evaluating') -----
  valueWithReceiver: aReceiver arguments: anArray 
+ 	^self class receiver: aReceiver withArguments: anArray executeMethod: self!
- 	"This should be changed after the release of Squeak 4.3 to
- 		^self class receiver: aReceiver withArguments: anArray executeMethod: self"
- 	^ aReceiver withArgs: anArray executeMethod: self!

More information about the Squeak-dev mailing list