Login  Register

The Trunk: Kernel-eem.472.mcz

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options Options
Embed post
Permalink
Reply | Threaded
Open this post in threaded view
| More
Print post
Permalink

The Trunk: Kernel-eem.472.mcz

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

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

Name: Kernel-eem.472
Author: eem
Time: 7 July 2010, 11:53:07.243 am
UUID: 6c1ef6ed-4b21-4887-9c13-7ed690069f0e
Ancestors: Kernel-eem.471

yet another snafu for BlockClosure>>value.

=============== Diff against Kernel-eem.471 ===============

Item was changed:
  ----- Method: BlockClosure>>value (in category 'evaluating') -----
  value
  "Activate the receiver, creating a closure activation (MethodContext)
  whose closure is the receiver and whose caller is the sender of this
  message. Supply the copied values to the activation as its copied
  temps. Primitive. Essential."
  <primitive: 201>
  | newContext |
+ numArgs ~= 0 ifTrue:
+ [self numArgsError: 0].
- numArgs ~= 1 ifTrue:
- [self numArgsError: 1].
  false
  ifTrue: "Old code to simulate the closure value primitive on VMs that lack it."
  [newContext := self asContextWithSender: thisContext sender.
  thisContext privSender: newContext]
  ifFalse: [self primitiveFailed]!