[Vm-dev] VM Maker: VMMaker-eem.307.mcz

commits at source.squeak.org commits at source.squeak.org
Tue Mar 19 17:06:18 UTC 2013


Eliot Miranda uploaded a new version of VMMaker to project VM Maker:
http://source.squeak.org/VMMaker/VMMaker-eem.307.mcz

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

Name: VMMaker-eem.307
Author: eem
Time: 19 March 2013, 10:04:03.147 am
UUID: 647157a1-c894-4816-acee-730723f6af57
Ancestors: VMMaker-eem.306

Nuke unused InterpreterSimulationObject.
Move default implementations of declareCVarsIn: &
requiredMethodNames from Object to VMClass.

=============== Diff against VMMaker-eem.306 ===============

Item was removed:
- Object subclass: #InterpreterSimulationObject
- 	instanceVariableNames: ''
- 	classVariableNames: ''
- 	poolDictionaries: ''
- 	category: 'VMMaker-Plugins'!

Item was removed:
- ----- Method: InterpreterSimulationObject>>cCoerce:to: (in category 'simulation') -----
- cCoerce: value to: cTypeString
- 	"Here the Simulator has a chance to create properly typed flavors of CArray access."
- 
- 	value isCObjectAccessor ifTrue:
- 		[^ self getInterpreter cCoerce: value to: cTypeString].
- 	(value isMemberOf: CArray) ifTrue:
- 		[^ self getInterpreter cCoerce: value to: cTypeString].
- 	^ value!

Item was removed:
- ----- Method: InterpreterSimulationObject>>long32At: (in category 'memory access') -----
- long32At: byteAddress
- 	"Simulation support.  Answer the 32-bit word at byteAddress which must be 0 mod 4."
- 
- 	^self getInterpreter long32At: byteAddress!

Item was removed:
- ----- Method: InterpreterSimulationObject>>long32At:put: (in category 'memory access') -----
- long32At: byteAddress put: a32BitValue
- 	"Simulation support.  Store the 32-bit value at byteAddress which must be 0 mod 4."
- 
- 	^self getInterpreter long32At: byteAddress put: a32BitValue!

Item was removed:
- ----- Method: InterpreterSimulationObject>>oopForPointer: (in category 'memory access') -----
- oopForPointer: aPointer
- 	"Simulation support.  Pointers and oops are the same when simulating; answer aPointer."
- 
- 	^aPointer!

Item was removed:
- ----- Method: InterpreterSimulationObject>>pointerForOop: (in category 'memory access') -----
- pointerForOop: anOop
- 	"Simulation support.  Pointers and oops are the same when simulating; answer anOop."
- 
- 	^anOop!

Item was removed:
- ----- Method: Object class>>declareCVarsIn: (in category '*VMMaker-translation') -----
- declareCVarsIn: cg
- !

Item was removed:
- ----- Method: Object class>>requiredMethodNames (in category '*VMMaker-translation') -----
- requiredMethodNames
- 	"return the list of method names that should be retained for export or other support reasons"
- 	^#()!

Item was added:
+ ----- Method: VMClass class>>declareCVarsIn: (in category 'translation') -----
+ declareCVarsIn: aCCodeGenerator 
+ 	"Declare any additional variables and/or add type declarations for existing variables."!

Item was added:
+ ----- Method: VMClass class>>requiredMethodNames (in category 'translation') -----
+ requiredMethodNames
+ 	"Answer a list of method names that should be retained for export or other
+ 	 support reasons.  These are typically entry-points that unless explicitly noted
+ 	 will be deleted by the code generator since it will assume these are not used."
+ 	^#()!



More information about the Vm-dev mailing list