[squeak-dev] Regression | Cannot interrupt "[ [] repeat ] fork" anymore
Eliot Miranda
eliot.miranda at gmail.com
Fri Dec 17 00:44:38 UTC 2021
On Thu, Dec 16, 2021 at 3:48 PM tim Rowledge <tim at rowledge.org> wrote:
> vmParameterAt: parameterIndex ifAbsent: absentBlock
>
> <primitive: 254>
> ^absentBlock value
>
Nice. Alas this doesn't work because the VM assumes an invocation of
primitive 254 with 2 parameters is the setter, vmParameterAt:put:. The VM
could be hacked to treat the two parameter form differently if the argument
is a block, but that wouldn't meet the specification. The argument is
called defaultValueOrBlock.
> tim
> --
> tim Rowledge; tim at rowledge.org; http://www.rowledge.org/tim
> Strange OpCodes: AII: Add Insult to Injury
>
>
>
>
--
_,,,^..^,,,_
best, Eliot
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20211216/fad1798b/attachment.html>
More information about the Squeak-dev
mailing list
|