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

commits at source.squeak.org commits at source.squeak.org
Mon Nov 30 17:57:09 UTC 2020


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])]!



More information about the Vm-dev mailing list