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

Eliot Miranda eliot.miranda at gmail.com
Tue May 5 17:58:39 UTC 2020


Hi Marcel,


> On May 4, 2020, at 2:07 AM, Marcel Taeumel <marcel.taeumel at hpi.de> wrote:
> 
> 
> 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.

I do apologize!  I didn’t have it loaded when I checked for users of compiledBlock.

Just use method instead.  I can reinstate compiledBlock if you’d like.  I would rather not because, unlike method, t
it was the only implementor.

> 
> 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/20200505/63e32b23/attachment.html>


More information about the Squeak-dev mailing list