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

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

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

Name: Kernel-eem.1181
Author: eem
Time: 17 June 2018, 4:48:17.581384 pm
UUID: c1e480cd-6fb8-4810-af4b-0ac2298a044a
Ancestors: Kernel-eem.1180

Move Context>>blockCopy: to deprecated (BlockContext is in deprecated).  This breaks Kernel's dependency on deprecated.

=============== Diff against Kernel-eem.1180 ===============

Item was removed:
- ----- Method: Context>>blockCopy: (in category 'controlling') -----
- blockCopy: numArgs
- "Primitive. Distinguish a block of code from its enclosing method by
- creating a new BlockContext for that block. The compiler inserts into all
- methods that contain blocks the bytecodes to send the message
- blockCopy:. Do not use blockCopy: in code that you write!! Only the
- compiler can decide to send the message blockCopy:. Fail if numArgs is
- not a SmallInteger. Optional. No Lookup. See Object documentation
- whatIsAPrimitive."
-
- <primitive: 80>
- ^ (BlockContext newForMethod: self method)
- home: self home
- startpc: pc + 2
- nargs: numArgs!