[etoys-notify] [JIRA] Resolved: (SQ-653) Add pragma support

Bert Freudenberg (JIRA) tracker at squeakland.org
Sun Jan 24 09:08:44 EST 2010


     [ http://tracker.squeakland.org/browse/SQ-653?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Bert Freudenberg resolved SQ-653.
---------------------------------

    Resolution: Complete

Resolving to mark for testing.

> Add pragma support
> ------------------
>
>                 Key: SQ-653
>                 URL: http://tracker.squeakland.org/browse/SQ-653
>             Project: squeakland
>          Issue Type: Improvement
>          Components: etoys
>            Reporter: Bert Freudenberg
>            Priority: Critical
>             Fix For: etoys 5 and showcase
>
>         Attachments: Pragmas.pt1.cs, Pragmas.pt2.cs
>
>
> In preparation of converting the Etoys image to closures (a prerequisite to using a faster VM), Eliot contributes this set of changesets to add method pragmas. He wrote:
> (FileDirectory default oldFileNamed: 'Pragmas.pt1.cs') fileIn.
> Compiler recompileAllFrom: #A.
> (FileDirectory default oldFileNamed: 'Pragmas.pt2.cs') fileIn. 
> Some of the methods were hand crafted to fit, because this is the first time I've moved any of the compiler code into a pre-MethodProperties image, and because I didn't add Vassili's ifNotNil: can take an argument changes and so I used ifNotNilDo: in places.  The split between part 1 and part 2 is deferring changing a few methods in CompiledMethod that can benefit from every method having its selector until after the putsch.
> This has had minimal testing.  I've recompiled the system and I've decompiled a few methods and decompiled some scratch compiles of methods with primitive error codes (e.g. <primitive: 61 error: eek>).  No methods in the system have error codes as yet, and the VM won't throw any up, but it comes in as part and parcel of pragmas, and does no harm, being forward and backward compatible w.r.t. VMs.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://tracker.squeakland.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the etoys-notify mailing list