[squeak-dev] The Trunk: Kernel-eem.1102.mcz
leves at caesar.elte.hu
Fri May 5 19:23:12 UTC 2017
On Fri, 5 May 2017, commits at source.squeak.org wrote:
> Eliot Miranda uploaded a new version of Kernel to project The Trunk:
> ==================== Summary ====================
> Name: Kernel-eem.1102
> Author: eem
> Time: 5 May 2017, 12:14:26.339034 pm
> UUID: b61eaafd-be70-42f3-aaa4-b8e21da1fd4c
> Ancestors: Kernel-nice.1101
> Delete obsolete binding and block machinery now unused by the Compiler.
> =============== Diff against Kernel-nice.1101 ===============
I suppose the following method was accidentally added again.
It happened to me as well, but I removed it from the commit.
I wonder how it gets added back. Perhaps a test adds it?
> Item was added:
> + ----- 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!
> Item was removed:
> - ----- Method: UndefinedObject>>literalScannedAs:notifying: (in category 'class hierarchy') -----
> - literalScannedAs: scannedLiteral notifying: requestor
> - ^ scannedLiteral!
More information about the Squeak-dev