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

commits at source.squeak.org commits at source.squeak.org
Sun Jun 17 23:48:36 UTC 2018


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!



More information about the Squeak-dev mailing list