The Trunk: 60Deprecated-eem.22.mcz

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

The Trunk: 60Deprecated-eem.22.mcz

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

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

Name: 60Deprecated-eem.22
Author: eem
Time: 17 June 2018, 4:46:55.256723 pm
UUID: 49040366-ae77-47cd-aaea-1574270b7780
Ancestors: 60Deprecated-pre.21

BlockContext is in deprecated.  Add the only reference to it in Kernel (now an unsent message) to break the dependency.

=============== Diff against 60Deprecated-pre.21 ===============

Item was added:
+ ----- Method: Context>>blockCopy: (in category '*60Deprecated-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!