[Vm-dev] VM Maker Inbox: VMMaker.oscog-kks.2760.mcz

commits at source.squeak.org commits at source.squeak.org
Mon Jun 1 10:27:55 UTC 2020


A new version of VMMaker was added to project VM Maker Inbox:
http://source.squeak.org/VMMakerInbox/VMMaker.oscog-kks.2760.mcz

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

Name: VMMaker.oscog-kks.2760
Author: kks
Time: 1 June 2020, 3:57:32.783096 pm
UUID: ed62b513-66a0-4a86-b53d-952cbd1b72cf
Ancestors: VMMaker.oscog-eem.2759

removed redundant initialization of translationDict. It is initialized properly later in initializeCTranslationDictionary.

This is a one line fix. It may be merged with other larger patches.

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

Item was changed:
  ----- Method: CCodeGenerator>>initialize (in category 'initialize-release') -----
  initialize
- 	translationDict := Dictionary new.
  	inlineList := Array new.
  	constants := Dictionary new: 100.
  	variables := Set new: 100.
  	variableDeclarations := Dictionary new: 100.
  	methods := Dictionary new: 500.
  	kernelReturnTypes := self computeKernelReturnTypes.
  	macros := Dictionary new.
  	self initializeCTranslationDictionary.
  	headerFiles := OrderedCollection new.
  	globalVariableUsage := Dictionary new.
  	useSymbolicConstants := true.
  	generateDeadCode := true.
  	scopeStack := OrderedCollection new.
  	logger := (ProvideAnswerNotification new tag: #logger; signal) ifNil: [Transcript].
  	pools := IdentitySet new.
  	selectorTranslations := IdentityDictionary new.
  	suppressAsmLabels := false.
  	previousCommentMarksInlining := false.
  	previousCommenter := nil.
  	breakSrcInlineSelectors := IdentitySet new.
  	breakDestInlineSelectors := IdentitySet new!



More information about the Vm-dev mailing list