Re: The Trunk: Kernel-mt.1544.mcz

Christoph Thiede via Squeak-dev <[email protected]> Tue, 9 Jun 2026 00:57:57 +0200
Newsgroups gmane.comp.lang.smalltalk.squeak.general
Message-ID <87ab15ea-df54-486e-b31b-a1d891e4d6a1@MX2025-DAG1.hpi.uni-potsdam.de>
Hi Marcel,

should CompiledCode class>>scanBlocksForLiteral:do: go to 61Deprecated? It has no senders in the trunk.

Best,
Christoph

-- 
Sent from Squeak Inbox Talk

On 2023-12-20T12:53:04+00:00, [email protected] wrote:

> Marcel Taeumel uploaded a new version of Kernel to project The Trunk:
> http://source.squeak.org/trunk/Kernel-mt.1544.mcz
> 
> ==================== Summary ====================
> 
> Name: Kernel-mt.1544
> Author: mt
> Time: 20 December 2023, 1:53:02.779841 pm
> UUID: 83d31486-6cba-694f-8c75-ff41d8d10629
> Ancestors: Kernel-mt.1543
> 
> Mark old way of scanning for implicit literals #deprecated. We now have ImplicitLiteralFinder. See #implicitLiteralsDo:.
> 
> =============== Diff against Kernel-mt.1543 ===============
> 
> Item was changed:
> ----- Method: CompiledCode class>>scanBlocksForLiteral:do: (in category 'scanning') -----
> scanBlocksForLiteral: aLiteral do: aBinaryBlock
>     "Evaluate aBinaryBlock with the literal scanners for aLiteral (which will be nil
>      if there are no special bytecodes that access aLiteral), and answer its value."
> +     
> +     self flag: #deprecated. "mt: Use #implicitLiteralsDo:."
>     ^aBinaryBlock
>         value: (PrimaryBytecodeSetEncoderClass scanBlockOrNilForLiteral: aLiteral)
>         value: (SecondaryBytecodeSetEncoderClass scanBlockOrNilForLiteral: aLiteral)!

Squeak-dev mailing list -- [email protected]
To unsubscribe send an email to [email protected]