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

commits at source.squeak.org commits at source.squeak.org
Wed Apr 22 17:53:07 UTC 2015


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

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

Name: VMMaker.oscog-eem.1240
Author: eem
Time: 22 April 2015, 10:49:33.219 am
UUID: b4f0eba3-7350-41a0-a8da-52fbc1568cc8
Ancestors: VMMaker.oscog-eem.1239

Phhh....

=============== Diff against VMMaker.oscog-eem.1239 ===============

Item was changed:
  ----- Method: VMMaker>>generateCogitFileFor: (in category 'generate sources') -----
  generateCogitFileFor: cogitClass
  	"Translate the Smalltalk description of the Cogit into C, if required.  Ensure that
  	 inferTypesForImplicitlyTypedVariablesAndMethods was done, and answer the code generator."
  
  	| cg |
  	cg := [self buildCodeGeneratorForCogit]
  			on: Notification
  			do: [:ex|
  				ex tag == #getVMMaker
  					ifTrue: [ex resume: self]
  					ifFalse: [(ex respondsTo: #rearmHandlerDuring:)
  								ifTrue: [ex rearmHandlerDuring: [ex pass]]
  								ifFalse: [ex pass]]].
  
  	cg inferTypesForImplicitlyTypedVariablesAndMethods.
+ 	self needsToRegenerateCogitFile ifFalse: [^cg].
- 	self needsToRegenerateCogitFile ifFalse: [^nil].
  
  	cg vmClass preGenerationHook: cg.
  	cg storeCodeOnFile: (self sourceFilePathFor: cogitClass processorSpecificSourceFileName) doInlining: cogitClass doInlining.
  	^cg!



More information about the Vm-dev mailing list