Saving morphs to file
Marcus Denker
denker at iam.unibe.ch
Tue Jul 18 09:59:10 UTC 2006
On 18.07.2006, at 11:27, Andreas Raab wrote:
> Marcus Denker wrote:
>> With the NewCompiler, the structure of the Closure is completely
>> static,
>> it just references a method that encodes the code of the block and
>> the
>> environment for the iVar access:
>> a BlockClosure (1599)
>> root: a BlockClosure (1599)
>> method: a CompiledMethod (1605)
>> environment: a TT
>> i: nil
>> even with an outer temp reference, the picture does not get more
>> complicated:
>
> But temps aren't the problem (never have been except from the issue
> of sharing those temps in the frame of the outer method). It's
> iVars which are the problem and unless I'm completely mistaken,
> there is no solution to that problem in CC either (if there is,
> please correct me).
No, this was not meant as a solution to the iVar problem. Just a
general example that it's nice to distinguish between static and
dynamic for blocks.
And, of course, it solves the problem wie have with temps (aka true
Closures) ;-)
Marcus
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 3938 bytes
Desc: not available
Url : http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20060718/6bf61296/smime.bin
More information about the Squeak-dev
mailing list
|