VM Maker: VMMaker.oscog-eem.2381.mcz

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

VM Maker: VMMaker.oscog-eem.2381.mcz

Eliot Miranda uploaded a new version of VMMaker to project VM Maker:

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

Name: VMMaker.oscog-eem.2381
Author: eem
Time: 2 May 2018, 6:38:40.242754 pm
UUID: c8fa6961-f14a-4115-aa4c-f445c5f51e6f
Ancestors: VMMaker.oscog-eem.2380

Fix a bug in the refactored conditional define code; a slip caused premature evaluation of the block argument.

Fix a spleeing rorre.

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

Item was changed:
  ----- Method: VMMaker class>>generateAllConfigurationsUnderVersionControl (in category 'configurations') -----
  with: 'Generate all newspeak configurations under VCS' -> [ self generateAllNewspeakConfigurationsUnderVersionControl ]
  with: 'Generate all squeak cofigurations under VCS' -> [ self generateAllSqueakConfigurationsUnderVersionControl ]
+ with: 'Generate all spur lowcode configurations' -> [ self generateAllSpurLowcodeConfigurations ]
- with: 'Generate all spur lowercode configurations' -> [ self generateAllSpurLowcodeConfigurations ]
  with: 'Generate VM plugins' -> [ self generateVMPlugins ])!

Item was changed:
  ----- Method: VMPluginCodeGenerator>>withGuardAgainstDefinitionOf:on:do: (in category 'C translation') -----
  withGuardAgainstDefinitionOf: selector on: aStream do: aBlock
  "Evaluate aBlock, surrounded by a define if selector is defined as a macro (i.e. by preDeclareInterpreterProxyOn:"
  (self selectorsThatMayBeGeneratedAsMacros includes: selector) ifFalse:
  [^aBlock value].
  withConditionalDefineOf: (self cFunctionNameFor: selector)
  comment: nil
  on: aStream
+ do: aBlock!
- do: aBlock value!