[BUG]TMethod(Object)>>error:

Fritsche.Markus at gmx.net Fritsche.Markus at gmx.net
Sun Aug 31 02:31:05 UTC 2003


I wanted to generate a vm with unix-Squeak-3.6-beta7 sources, but the
step "Adding Class Interpreter" does not work

31 August 2003 1:28:07 am

VM: unix - Squeak3.6beta of '4 July 2003' [latest update: #5373]
Image: Squeak3.5alpha [latest update: #5169]

TMethod(Object)>>error:
	Receiver: a TMethod (returnValue:to:)
	Arguments and temporary variables: 
		aString: 	'Cannot share code sections in methods with arguments'
	Receiver's instance variables: 
		selector: 	#returnValue:to:
		returnType: 	'int'
		args: 	an OrderedCollection('resultObj' 'returnContext')
		locals: 	an OrderedCollection('contextOfCaller' 'thisCntx' 'nilOop')
		declarations: 	a Dictionary()
		primitive: 	0
		parseTree: 	[
	self inline: true.
	nilOop _ nilObj.
	thisCntx _ activeContext.
	...etc...
		labels: 	an OrderedCollection()
		possibleSideEffectsCache: 	nil
		complete: 	false
		export: 	false
		static: 	true
		sharedLabel: 	'commonReturn'
		sharedCase: 	120
		comment: 	nil
		definingClass: 	nil
		globalStructureBuildMethodHasFoo: 	nil

TMethod>>extractSharedCase
	Receiver: a TMethod (returnValue:to:)
	Arguments and temporary variables: 
		newStatements: 	an OrderedCollection(self inline: true nilOop _ nilObj
thisCntx ...etc...
		stmt: 	^self
	Receiver's instance variables: 
		selector: 	#returnValue:to:
		returnType: 	'int'
		args: 	an OrderedCollection('resultObj' 'returnContext')
		locals: 	an OrderedCollection('contextOfCaller' 'thisCntx' 'nilOop')
		declarations: 	a Dictionary()
		primitive: 	0
		parseTree: 	[
	self inline: true.
	nilOop _ nilObj.
	thisCntx _ activeContext.
	...etc...
		labels: 	an OrderedCollection()
		possibleSideEffectsCache: 	nil
		complete: 	false
		export: 	false
		static: 	true
		sharedLabel: 	'commonReturn'
		sharedCase: 	120
		comment: 	nil
		definingClass: 	nil
		globalStructureBuildMethodHasFoo: 	nil

TMethod>>setSelector:args:locals:block:primitive:
	Receiver: a TMethod (returnValue:to:)
	Arguments and temporary variables: 
		sel: 	#returnValue:to:
		argList: 	an OrderedCollection({resultObj} {returnContext})
		localList: 	an OrderedCollection({contextOfCaller} {thisCntx}
{nilOop})
		aBlockNode: 	{[self inline: true.
	self sharedCodeNamed: 'commonReturn' inCase: ...etc...
		aNumber: 	0
		arg: 	{nilOop}
	Receiver's instance variables: 
		selector: 	#returnValue:to:
		returnType: 	'int'
		args: 	an OrderedCollection('resultObj' 'returnContext')
		locals: 	an OrderedCollection('contextOfCaller' 'thisCntx' 'nilOop')
		declarations: 	a Dictionary()
		primitive: 	0
		parseTree: 	[
	self inline: true.
	nilOop _ nilObj.
	thisCntx _ activeContext.
	...etc...
		labels: 	an OrderedCollection()
		possibleSideEffectsCache: 	nil
		complete: 	false
		export: 	false
		static: 	true
		sharedLabel: 	'commonReturn'
		sharedCase: 	120
		comment: 	nil
		definingClass: 	nil
		globalStructureBuildMethodHasFoo: 	nil

MethodNode>>asTranslationMethodOfClass:
	Receiver: returnValue: resultObj to: returnContext 
	"Note: Assumed to be inlined into the dispatch ...etc...
	Arguments and temporary variables: 
		aClass: 	TMethod
	Receiver's instance variables: 
		comment: 	an OrderedCollection('Note: Assumed to be inlined into the
dispatch lo...etc...
		pc: 	nil
		selectorOrFalse: 	#returnValue:to:
		precedence: 	3
		arguments: 	an OrderedCollection({resultObj} {returnContext})
		block: 	{[self inline: true.
	self sharedCodeNamed: 'commonReturn' inCase: 120.
...etc...
		literals: 	nil
		primitive: 	0
		encoder: 	{an Encoder}
		temporaries: 	an OrderedCollection({nilOop} {thisCntx}
{contextOfCaller})


--- The full stack ---
TMethod(Object)>>error:
TMethod>>extractSharedCase
TMethod>>setSelector:args:locals:block:primitive:
MethodNode>>asTranslationMethodOfClass:
 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
[] in CCodeGenerator>>addClass:
[] in Set>>doWithIndex:
Set>>do:
Set>>doWithIndex:
[] in CCodeGenerator>>addClass:
ProgressInitiationException>>defaultAction
ProgressInitiationException(Exception)>>signal
ProgressInitiationException>>display:at:from:to:during:
ProgressInitiationException class>>display:at:from:to:during:
String>>displayProgressAt:from:to:during:
CCodeGenerator>>addClass:
VMMaker>>generateInterpreterFile
VMMaker>>generateMainVM
[] in VMMakerTool>>generateCore
BlockContext>>on:do:
...etc...



More information about the Squeak-dev mailing list