[squeak-dev] The Trunk: Kernel-eem.1325.mcz
Marcel Taeumel
marcel.taeumel at hpi.de
Mon May 4 09:10:43 UTC 2020
... would "[:arg | arg + 2] method" work instead of #compiledBlock? :-)
Best,
Marcel
Am 04.05.2020 11:07:02 schrieb Marcel Taeumel <marcel.taeumel at hpi.de>:
Hi Eliot.
Now CompiledCodeInspectorTest >> #createObject is not working anymore. It does this:
[:arg | arg + 2] compiledBlock
... as a quick way to get a compiled-code object.
Best,
Marcel
Am 01.05.2020 19:38:40 schrieb commits at source.squeak.org <commits at source.squeak.org>:
Eliot Miranda uploaded a new version of Kernel to project The Trunk:
http://source.squeak.org/trunk/Kernel-eem.1325.mcz
==================== Summary ====================
Name: Kernel-eem.1325
Author: eem
Time: 1 May 2020, 10:38:26.143286 am
UUID: fdfc5299-b643-4879-a7ca-716d825f6988
Ancestors: Kernel-eem.1324
Minor clean-up from the last commit. We don't really need compiledBlock[:], so do without.
=============== Diff against Kernel-eem.1324 ===============
Item was changed:
----- Method: FullBlockClosure>>= (in category 'comparing') -----
= aClosure
self == aClosure ifTrue: [^true].
aClosure class == self class ifFalse: [^false].
+ ^startpcOrMethod = aClosure method
+ and: [outerContext = aClosure outerContext or: [self isClean]]!
- startpcOrMethod = aClosure compiledBlock ifFalse: [^false].
- ^outerContext = aClosure outerContext or: [self isClean]!
Item was removed:
- ----- Method: FullBlockClosure>>compiledBlock (in category 'accessing') -----
- compiledBlock
- "To be able to inherit from BlockClosure"
- ^ startpcOrMethod!
Item was removed:
- ----- Method: FullBlockClosure>>compiledBlock: (in category 'accessing') -----
- compiledBlock: aCompiledBlock
- "To be able to inherit from BlockClosure"
- startpcOrMethod := aCompiledBlock!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20200504/c1d2217f/attachment.html>
More information about the Squeak-dev
mailing list
|