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

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

==================== 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!