VM Maker: VMMaker.oscog-eem.2902.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.2902.mcz

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

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

Name: VMMaker.oscog-eem.2902
Author: eem
Time: 30 November 2020, 9:57:00.399325 am
UUID: 441f60b2-e29e-47d1-8486-d29b9a8c66d2
Ancestors: VMMaker.oscog-eem.2901

Oops; fix CogVMThread typedef.

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

Item was changed:
  ----- Method: CogVMThread class>>instVarNamesAndTypesForTranslationDo: (in category 'translation') -----
  instVarNamesAndTypesForTranslationDo: aBinaryBlock
  "enumerate aBinaryBlock with the names and C type strings for the inst vars to include in a CogVMThread struct."
 
  self allInstVarNames do:
  [:ivn|
  aBinaryBlock
  value: ivn
  value: (ivn caseOf: {
  ['awolProcesses'] -> [{#sqInt. '[', CogThreadManager awolProcessesIncrement printString, ']'}].
  ['cStackPointer'] -> [#usqIntptr_t].
  ['cFramePointer'] -> [#usqIntptr_t].
+ ['primitiveFunctionPointer'] -> [#('void (*' ')()')].
- ['primitiveFunctionPointer'] -> [#('static void (*' ')()')].
  ['osSemaphore'] -> ['sqOSSemaphore'].
  ['osThread'] -> ['sqOSThread'].
  ['reenterInterpreter'] -> ['jmp_buf'] }
  otherwise:
  [#sqInt])]!