VM Maker Inbox: VMMaker.oscog-kks.2760.mcz

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

VM Maker Inbox: VMMaker.oscog-kks.2760.mcz

commits-2
 
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!