[squeak-dev] The Trunk: Compiler-ar.80.mcz

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

[squeak-dev] The Trunk: Compiler-ar.80.mcz

commits-2
Andreas Raab uploaded a new version of Compiler to project The Trunk:
http://source.squeak.org/trunk/Compiler-ar.80.mcz

==================== Summary ====================

Name: Compiler-ar.80
Author: ar
Time: 5 September 2009, 10:06:25 am
UUID: 82001507-c038-784a-a4e2-0c969b53800f
Ancestors: Compiler-eem.79

Add an initialize method working around the limitations of MCDs and scripts.

=============== Diff against Compiler-eem.79 ===============

Item was added:
+ ----- Method: Compiler class>>initialize (in category 'class initialization') -----
+ initialize
+ "For the benefit of MC running a required script in the proper order."
+ #('Compiler' 'Kernel' 'System') do:[:pkgName|
+ Transcript nextPutAll: pkgName; cr; flush.
+ (PackageInfo named: pkgName) methods
+ do: [:ea | ea actualClass recompile: ea methodSymbol]
+ displayingProgress: 'Recompiling ', pkgName,'...']
+
+ !


Reply | Threaded
Open this post in threaded view
|

Re: [squeak-dev] The Trunk: Compiler-ar.80.mcz

laza
Hallo Andreas!

Can't wait to see how this stuff works. :)
Until then I get an error during update with this package.

Alex

MessageNotUnderstood: MethodProperties>>method:
6 September 2009 8:18:03.575 am

VM: Win32 - a SmalltalkImage
Image: Squeak3.10.2 [latest update: #7179]

SecurityManager state:
Restricted: false
FileAccess: true
SocketAccess: true
Working Dir C:\Dokumente und Einstellungen\laza\Desktop
Trusted Dir C:\Dokumente und Einstellungen\laza\Desktop\laza
Untrusted Dir C:\Dokumente und Einstellungen\laza\Eigene Dateien\My Squeak

MethodProperties(Object)>>doesNotUnderstand: #method:
        Receiver: a MethodProperties
        Arguments and temporary variables:
<<error during printing>
        Receiver's instance variables:
                properties: nil
                pragmas: #()
                selector: #checkForSlips

DecompilerConstructorForClosures>>codeMethod:block:tempVars:primitive:class:
        Receiver: {a DecompilerConstructorForClosures}
        Arguments and temporary variables:
<<error during printing>
        Receiver's instance variables:
                comment: nil
                pc: nil
                method: a CompiledMethod(1254: Preferences class>>checkForSlips)
                instVars: #('superclass' 'methodDict' 'format' 'instanceVariables'
'organizatio...etc...
                nArgs: 0
                literalValues: an Array(#valueOfFlag:ifAbsent: #checkForSlips a
MethodPropertie...etc...
                tempVars: #()
                tempNameCounter: nil

Decompiler>>decompile:in:method:using:
        Receiver: a Decompiler
        Arguments and temporary variables:
<<error during printing>
        Receiver's instance variables:
                sender: a CompiledMethod(1254: Preferences class>>checkForSlips)
                pc: 31
                constructor: {a DecompilerConstructorForClosures}
                method: a CompiledMethod(1254: Preferences class>>checkForSlips)
                instVars: #(nil nil nil nil nil nil nil nil nil nil nil nil nil)
                tempVars: #()
                constTable: an Array({self} {true} {false} {nil} {-1} {0} {1} {2})
                stack: an OrderedCollection()
                statements: an OrderedCollection()
                lastPc: 30
                exit: 31
                caseExits: an OrderedCollection()
                lastJumpPc: 30
                lastReturnPc: -1
                limit: 31
                hasValue: false
                blockStackBase: nil
                numLocalTemps: 0
                blockStartsToTempVars: nil
                tempVarCount: 0

Decompiler>>decompile:in:method:
        Receiver: a Decompiler
        Arguments and temporary variables:
<<error during printing>
        Receiver's instance variables:
                sender: a CompiledMethod(1254: Preferences class>>checkForSlips)
                pc: 31
                constructor: {a DecompilerConstructorForClosures}
                method: a CompiledMethod(1254: Preferences class>>checkForSlips)
                instVars: #(nil nil nil nil nil nil nil nil nil nil nil nil nil)
                tempVars: #()
                constTable: an Array({self} {true} {false} {nil} {-1} {0} {1} {2})
                stack: an OrderedCollection()
                statements: an OrderedCollection()
                lastPc: 30
                exit: 31
                caseExits: an OrderedCollection()
                lastJumpPc: 30
                lastReturnPc: -1
                limit: 31
                hasValue: false
                blockStackBase: nil
                numLocalTemps: 0
                blockStartsToTempVars: nil
                tempVarCount: 0


--- The full stack ---
MethodProperties(Object)>>doesNotUnderstand: #method:
DecompilerConstructorForClosures>>codeMethod:block:tempVars:primitive:class:
Decompiler>>decompile:in:method:using:
Decompiler>>decompile:in:method:
 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
CompiledMethod>>getSourceFor:in:
Metaclass(Behavior)>>sourceCodeAt:
Metaclass(Behavior)>>recompile:from:
Metaclass(Behavior)>>recompile:
[] in [] in Compiler class>>initialize
[] in [] in Array(SequenceableCollection)>>do:displayingProgress:
Array(SequenceableCollection)>>withIndexDo:
[] in Array(SequenceableCollection)>>do:displayingProgress:
[] in [] in ProgressInitiationException>>defaultMorphicAction
BlockClosure>>on:do:
[] in ProgressInitiationException>>defaultMorphicAction
BlockClosure>>ensure:
ProgressInitiationException>>defaultMorphicAction
ProgressInitiationException>>defaultAction
UndefinedObject>>handleSignal:
MethodContext(ContextPart)>>handleSignal:
MethodContext(ContextPart)>>handleSignal:
MethodContext(ContextPart)>>handleSignal:
MethodContext(ContextPart)>>handleSignal:
MethodContext(ContextPart)>>handleSignal:
ProgressInitiationException(Exception)>>signal
ProgressInitiationException>>display:at:from:to:during:
ProgressInitiationException class>>display:at:from:to:during:
ByteString(String)>>displayProgressAt:from:to:during:
Array(SequenceableCollection)>>do:displayingProgress:
[] in Compiler class>>initialize
Array(SequenceableCollection)>>do:
Compiler class>>initialize
MCMethodDefinition>>postload
MCMethodDefinition(MCDefinition)>>postloadOver:
[] in [] in [] in MCPackageLoader>>basicLoad
...etc...

On Sun, Sep 6, 2009 at 7:06 AM, <[hidden email]> wrote:

> Andreas Raab uploaded a new version of Compiler to project The Trunk:
> http://source.squeak.org/trunk/Compiler-ar.80.mcz
>
> ==================== Summary ====================
>
> Name: Compiler-ar.80
> Author: ar
> Time: 5 September 2009, 10:06:25 am
> UUID: 82001507-c038-784a-a4e2-0c969b53800f
> Ancestors: Compiler-eem.79
>
> Add an initialize method working around the limitations of MCDs and scripts.
>
> =============== Diff against Compiler-eem.79 ===============
>
> Item was added:
> + ----- Method: Compiler class>>initialize (in category 'class initialization') -----
> + initialize
> +       "For the benefit of MC running a required script in the proper order."
> +       #('Compiler' 'Kernel' 'System') do:[:pkgName|
> +               Transcript nextPutAll: pkgName; cr; flush.
> +               (PackageInfo named: pkgName) methods
> +                       do: [:ea | ea actualClass recompile: ea methodSymbol]
> +                       displayingProgress: 'Recompiling ', pkgName,'...']
> +
> + !
>
>
>

Reply | Threaded
Open this post in threaded view
|

[squeak-dev] Re: The Trunk: Compiler-ar.80.mcz

Andreas.Raab
Alexander Lazarević wrote:
> Hallo Andreas!
>
> Can't wait to see how this stuff works. :)
> Until then I get an error during update with this package.

Hm ... Can you try to find out which method is being recompiled when
this happens? (try to crawl the stack back up to #recompile:)

Thanks,
   - Andreas

>
> Alex
>
> MessageNotUnderstood: MethodProperties>>method:
> 6 September 2009 8:18:03.575 am
>
> VM: Win32 - a SmalltalkImage
> Image: Squeak3.10.2 [latest update: #7179]
>
> SecurityManager state:
> Restricted: false
> FileAccess: true
> SocketAccess: true
> Working Dir C:\Dokumente und Einstellungen\laza\Desktop
> Trusted Dir C:\Dokumente und Einstellungen\laza\Desktop\laza
> Untrusted Dir C:\Dokumente und Einstellungen\laza\Eigene Dateien\My Squeak
>
> MethodProperties(Object)>>doesNotUnderstand: #method:
> Receiver: a MethodProperties
> Arguments and temporary variables:
> <<error during printing>
> Receiver's instance variables:
> properties: nil
> pragmas: #()
> selector: #checkForSlips
>
> DecompilerConstructorForClosures>>codeMethod:block:tempVars:primitive:class:
> Receiver: {a DecompilerConstructorForClosures}
> Arguments and temporary variables:
> <<error during printing>
> Receiver's instance variables:
> comment: nil
> pc: nil
> method: a CompiledMethod(1254: Preferences class>>checkForSlips)
> instVars: #('superclass' 'methodDict' 'format' 'instanceVariables'
> 'organizatio...etc...
> nArgs: 0
> literalValues: an Array(#valueOfFlag:ifAbsent: #checkForSlips a
> MethodPropertie...etc...
> tempVars: #()
> tempNameCounter: nil
>
> Decompiler>>decompile:in:method:using:
> Receiver: a Decompiler
> Arguments and temporary variables:
> <<error during printing>
> Receiver's instance variables:
> sender: a CompiledMethod(1254: Preferences class>>checkForSlips)
> pc: 31
> constructor: {a DecompilerConstructorForClosures}
> method: a CompiledMethod(1254: Preferences class>>checkForSlips)
> instVars: #(nil nil nil nil nil nil nil nil nil nil nil nil nil)
> tempVars: #()
> constTable: an Array({self} {true} {false} {nil} {-1} {0} {1} {2})
> stack: an OrderedCollection()
> statements: an OrderedCollection()
> lastPc: 30
> exit: 31
> caseExits: an OrderedCollection()
> lastJumpPc: 30
> lastReturnPc: -1
> limit: 31
> hasValue: false
> blockStackBase: nil
> numLocalTemps: 0
> blockStartsToTempVars: nil
> tempVarCount: 0
>
> Decompiler>>decompile:in:method:
> Receiver: a Decompiler
> Arguments and temporary variables:
> <<error during printing>
> Receiver's instance variables:
> sender: a CompiledMethod(1254: Preferences class>>checkForSlips)
> pc: 31
> constructor: {a DecompilerConstructorForClosures}
> method: a CompiledMethod(1254: Preferences class>>checkForSlips)
> instVars: #(nil nil nil nil nil nil nil nil nil nil nil nil nil)
> tempVars: #()
> constTable: an Array({self} {true} {false} {nil} {-1} {0} {1} {2})
> stack: an OrderedCollection()
> statements: an OrderedCollection()
> lastPc: 30
> exit: 31
> caseExits: an OrderedCollection()
> lastJumpPc: 30
> lastReturnPc: -1
> limit: 31
> hasValue: false
> blockStackBase: nil
> numLocalTemps: 0
> blockStartsToTempVars: nil
> tempVarCount: 0
>
>
> --- The full stack ---
> MethodProperties(Object)>>doesNotUnderstand: #method:
> DecompilerConstructorForClosures>>codeMethod:block:tempVars:primitive:class:
> Decompiler>>decompile:in:method:using:
> Decompiler>>decompile:in:method:
>  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
> CompiledMethod>>getSourceFor:in:
> Metaclass(Behavior)>>sourceCodeAt:
> Metaclass(Behavior)>>recompile:from:
> Metaclass(Behavior)>>recompile:
> [] in [] in Compiler class>>initialize
> [] in [] in Array(SequenceableCollection)>>do:displayingProgress:
> Array(SequenceableCollection)>>withIndexDo:
> [] in Array(SequenceableCollection)>>do:displayingProgress:
> [] in [] in ProgressInitiationException>>defaultMorphicAction
> BlockClosure>>on:do:
> [] in ProgressInitiationException>>defaultMorphicAction
> BlockClosure>>ensure:
> ProgressInitiationException>>defaultMorphicAction
> ProgressInitiationException>>defaultAction
> UndefinedObject>>handleSignal:
> MethodContext(ContextPart)>>handleSignal:
> MethodContext(ContextPart)>>handleSignal:
> MethodContext(ContextPart)>>handleSignal:
> MethodContext(ContextPart)>>handleSignal:
> MethodContext(ContextPart)>>handleSignal:
> ProgressInitiationException(Exception)>>signal
> ProgressInitiationException>>display:at:from:to:during:
> ProgressInitiationException class>>display:at:from:to:during:
> ByteString(String)>>displayProgressAt:from:to:during:
> Array(SequenceableCollection)>>do:displayingProgress:
> [] in Compiler class>>initialize
> Array(SequenceableCollection)>>do:
> Compiler class>>initialize
> MCMethodDefinition>>postload
> MCMethodDefinition(MCDefinition)>>postloadOver:
> [] in [] in [] in MCPackageLoader>>basicLoad
> ...etc...
>
> On Sun, Sep 6, 2009 at 7:06 AM, <[hidden email]> wrote:
>> Andreas Raab uploaded a new version of Compiler to project The Trunk:
>> http://source.squeak.org/trunk/Compiler-ar.80.mcz
>>
>> ==================== Summary ====================
>>
>> Name: Compiler-ar.80
>> Author: ar
>> Time: 5 September 2009, 10:06:25 am
>> UUID: 82001507-c038-784a-a4e2-0c969b53800f
>> Ancestors: Compiler-eem.79
>>
>> Add an initialize method working around the limitations of MCDs and scripts.
>>
>> =============== Diff against Compiler-eem.79 ===============
>>
>> Item was added:
>> + ----- Method: Compiler class>>initialize (in category 'class initialization') -----
>> + initialize
>> +       "For the benefit of MC running a required script in the proper order."
>> +       #('Compiler' 'Kernel' 'System') do:[:pkgName|
>> +               Transcript nextPutAll: pkgName; cr; flush.
>> +               (PackageInfo named: pkgName) methods
>> +                       do: [:ea | ea actualClass recompile: ea methodSymbol]
>> +                       displayingProgress: 'Recompiling ', pkgName,'...']
>> +
>> + !
>>
>>
>>
>
>


Reply | Threaded
Open this post in threaded view
|

Re: [squeak-dev] Re: The Trunk: Compiler-ar.80.mcz

laza
With Compiler-ar.81 everything updates smoothly for me. Thanks!

Alex

On Sun, Sep 6, 2009 at 9:29 AM, Andreas Raab<[hidden email]> wrote:

> Alexander Lazarević wrote:
>>
>> Hallo Andreas!
>>
>> Can't wait to see how this stuff works. :)
>> Until then I get an error during update with this package.
>
> Hm ... Can you try to find out which method is being recompiled when this
> happens? (try to crawl the stack back up to #recompile:)
>
> Thanks,
>  - Andreas
>
>>
>> Alex
>>
>> MessageNotUnderstood: MethodProperties>>method:
>> 6 September 2009 8:18:03.575 am
>>
>> VM: Win32 - a SmalltalkImage
>> Image: Squeak3.10.2 [latest update: #7179]
>>
>> SecurityManager state:
>> Restricted: false
>> FileAccess: true
>> SocketAccess: true
>> Working Dir C:\Dokumente und Einstellungen\laza\Desktop
>> Trusted Dir C:\Dokumente und Einstellungen\laza\Desktop\laza
>> Untrusted Dir C:\Dokumente und Einstellungen\laza\Eigene Dateien\My Squeak
>>
>> MethodProperties(Object)>>doesNotUnderstand: #method:
>>        Receiver: a MethodProperties
>>        Arguments and temporary variables:
>> <<error during printing>
>>        Receiver's instance variables:
>>                properties:     nil
>>                pragmas:        #()
>>                selector:       #checkForSlips
>>
>>
>> DecompilerConstructorForClosures>>codeMethod:block:tempVars:primitive:class:
>>        Receiver: {a DecompilerConstructorForClosures}
>>        Arguments and temporary variables:
>> <<error during printing>
>>        Receiver's instance variables:
>>                comment:        nil
>>                pc:     nil
>>                method:         a CompiledMethod(1254: Preferences
>> class>>checkForSlips)
>>                instVars:       #('superclass' 'methodDict' 'format'
>> 'instanceVariables'
>> 'organizatio...etc...
>>                nArgs:  0
>>                literalValues:  an Array(#valueOfFlag:ifAbsent:
>> #checkForSlips a
>> MethodPropertie...etc...
>>                tempVars:       #()
>>                tempNameCounter:        nil
>>
>> Decompiler>>decompile:in:method:using:
>>        Receiver: a Decompiler
>>        Arguments and temporary variables:
>> <<error during printing>
>>        Receiver's instance variables:
>>                sender:         a CompiledMethod(1254: Preferences
>> class>>checkForSlips)
>>                pc:     31
>>                constructor:    {a DecompilerConstructorForClosures}
>>                method:         a CompiledMethod(1254: Preferences
>> class>>checkForSlips)
>>                instVars:       #(nil nil nil nil nil nil nil nil nil nil
>> nil nil nil)
>>                tempVars:       #()
>>                constTable:     an Array({self} {true} {false} {nil} {-1}
>> {0} {1} {2})
>>                stack:  an OrderedCollection()
>>                statements:     an OrderedCollection()
>>                lastPc:         30
>>                exit:   31
>>                caseExits:      an OrderedCollection()
>>                lastJumpPc:     30
>>                lastReturnPc:   -1
>>                limit:  31
>>                hasValue:       false
>>                blockStackBase:         nil
>>                numLocalTemps:  0
>>                blockStartsToTempVars:  nil
>>                tempVarCount:   0
>>
>> Decompiler>>decompile:in:method:
>>        Receiver: a Decompiler
>>        Arguments and temporary variables:
>> <<error during printing>
>>        Receiver's instance variables:
>>                sender:         a CompiledMethod(1254: Preferences
>> class>>checkForSlips)
>>                pc:     31
>>                constructor:    {a DecompilerConstructorForClosures}
>>                method:         a CompiledMethod(1254: Preferences
>> class>>checkForSlips)
>>                instVars:       #(nil nil nil nil nil nil nil nil nil nil
>> nil nil nil)
>>                tempVars:       #()
>>                constTable:     an Array({self} {true} {false} {nil} {-1}
>> {0} {1} {2})
>>                stack:  an OrderedCollection()
>>                statements:     an OrderedCollection()
>>                lastPc:         30
>>                exit:   31
>>                caseExits:      an OrderedCollection()
>>                lastJumpPc:     30
>>                lastReturnPc:   -1
>>                limit:  31
>>                hasValue:       false
>>                blockStackBase:         nil
>>                numLocalTemps:  0
>>                blockStartsToTempVars:  nil
>>                tempVarCount:   0
>>
>>
>> --- The full stack ---
>> MethodProperties(Object)>>doesNotUnderstand: #method:
>>
>> DecompilerConstructorForClosures>>codeMethod:block:tempVars:primitive:class:
>> Decompiler>>decompile:in:method:using:
>> Decompiler>>decompile:in:method:
>>  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
>> CompiledMethod>>getSourceFor:in:
>> Metaclass(Behavior)>>sourceCodeAt:
>> Metaclass(Behavior)>>recompile:from:
>> Metaclass(Behavior)>>recompile:
>> [] in [] in Compiler class>>initialize
>> [] in [] in Array(SequenceableCollection)>>do:displayingProgress:
>> Array(SequenceableCollection)>>withIndexDo:
>> [] in Array(SequenceableCollection)>>do:displayingProgress:
>> [] in [] in ProgressInitiationException>>defaultMorphicAction
>> BlockClosure>>on:do:
>> [] in ProgressInitiationException>>defaultMorphicAction
>> BlockClosure>>ensure:
>> ProgressInitiationException>>defaultMorphicAction
>> ProgressInitiationException>>defaultAction
>> UndefinedObject>>handleSignal:
>> MethodContext(ContextPart)>>handleSignal:
>> MethodContext(ContextPart)>>handleSignal:
>> MethodContext(ContextPart)>>handleSignal:
>> MethodContext(ContextPart)>>handleSignal:
>> MethodContext(ContextPart)>>handleSignal:
>> ProgressInitiationException(Exception)>>signal
>> ProgressInitiationException>>display:at:from:to:during:
>> ProgressInitiationException class>>display:at:from:to:during:
>> ByteString(String)>>displayProgressAt:from:to:during:
>> Array(SequenceableCollection)>>do:displayingProgress:
>> [] in Compiler class>>initialize
>> Array(SequenceableCollection)>>do:
>> Compiler class>>initialize
>> MCMethodDefinition>>postload
>> MCMethodDefinition(MCDefinition)>>postloadOver:
>> [] in [] in [] in MCPackageLoader>>basicLoad
>> ...etc...
>>
>> On Sun, Sep 6, 2009 at 7:06 AM, <[hidden email]> wrote:
>>>
>>> Andreas Raab uploaded a new version of Compiler to project The Trunk:
>>> http://source.squeak.org/trunk/Compiler-ar.80.mcz
>>>
>>> ==================== Summary ====================
>>>
>>> Name: Compiler-ar.80
>>> Author: ar
>>> Time: 5 September 2009, 10:06:25 am
>>> UUID: 82001507-c038-784a-a4e2-0c969b53800f
>>> Ancestors: Compiler-eem.79
>>>
>>> Add an initialize method working around the limitations of MCDs and
>>> scripts.
>>>
>>> =============== Diff against Compiler-eem.79 ===============
>>>
>>> Item was added:
>>> + ----- Method: Compiler class>>initialize (in category 'class
>>> initialization') -----
>>> + initialize
>>> +       "For the benefit of MC running a required script in the proper
>>> order."
>>> +       #('Compiler' 'Kernel' 'System') do:[:pkgName|
>>> +               Transcript nextPutAll: pkgName; cr; flush.
>>> +               (PackageInfo named: pkgName) methods
>>> +                       do: [:ea | ea actualClass recompile: ea
>>> methodSymbol]
>>> +                       displayingProgress: 'Recompiling ',
>>> pkgName,'...']
>>> +
>>> + !
>>>
>>>
>>>
>>
>>
>
>
>

Reply | Threaded
Open this post in threaded view
|

[squeak-dev] Re: The Trunk: Compiler-ar.80.mcz

Andreas.Raab
Alexander Lazarević wrote:
> With Compiler-ar.81 everything updates smoothly for me. Thanks!

Yes, it should work now.

Cheers,
   - Andreas

>
> Alex
>
> On Sun, Sep 6, 2009 at 9:29 AM, Andreas Raab<[hidden email]> wrote:
>> Alexander Lazarević wrote:
>>> Hallo Andreas!
>>>
>>> Can't wait to see how this stuff works. :)
>>> Until then I get an error during update with this package.
>> Hm ... Can you try to find out which method is being recompiled when this
>> happens? (try to crawl the stack back up to #recompile:)
>>
>> Thanks,
>>  - Andreas