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

Alexander Lazarević laza at blobworks.com
Sun Sep 6 06:25:26 UTC 2009


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, <commits at source.squeak.org> 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,'...']
> +
> + !
>
>
>



More information about the Squeak-dev mailing list