David T. Lewis uploaded a new version of VMMaker to project VM Maker:
http://source.squeak.org/VMMaker/VMMaker-dtl.410.mcz==================== Summary ====================
Name: VMMaker-dtl.410
Author: dtl
Time: 29 February 2020, 1:55:02.199 pm
UUID: 66a3cb75-5893-4622-b49b-2056bb8fbee7
Ancestors: VMMaker-dtl.409
Housekeeping. - the MEMORY_ACCESS_IN_IMAGE macro is no longer used in support code for package MemoryAccess, so get rid of it. To use the Slang memory access rather than cpp macros in sqMemoryAccess.h, evaluate "MemoryAccess enable"..
=============== Diff against VMMaker-dtl.409 ===============
Item was removed:
- ----- Method: CCodeGenerator>>emitDefineMemoryAccessInImageOn: (in category 'C code generator') -----
- emitDefineMemoryAccessInImageOn: aStream
- "If MemoryAccess is present in the image, then define MEMORY_ACCESS_IN_IMAGE as
- a C preprocessor macro. When MEMORY_ACCESS_IN_IMAGE is defined, the traditional
- C preprocessor macros for low level memory access are ignored and will be replaced
- by directly translated (and inlined) SLANG versions of the same. This enables visibility
- of the memory access functions for debuggers and profilers."
-
- (Smalltalk classNamed: #MemoryAccess)
- ifNotNilDo: [:ma | ma isEnabled
- ifTrue: [aStream nextPutAll: '#define MEMORY_ACCESS_IN_IMAGE 1'; cr]]!
Item was changed:
----- Method: CCodeGenerator>>storeHeaderFor:onFile: (in category 'public') -----
storeHeaderFor: interpreterClassName onFile: fileName
"Store C header code for this interpreter on the given file."
| aStream |
aStream := CrLfFileStream forceNewFileNamed: fileName.
aStream ifNil: [Error signal: 'Could not open C header file: ', fileName].
aStream
nextPutAll: '/* ';
nextPutAll: VMMaker headerNotice;
nextPutAll: ' */'; cr; cr;
nextPutAll: (self fileHeaderVersionStampForSourceClass: nil); cr; cr;
nextPutAll: '#ifndef HAVE_INTERP_H'; cr;
nextPutAll: '# define HAVE_INTERP_H'; cr;
nextPutAll: '#endif'; cr; cr.
self emitVmmVersionOn: aStream.
(Smalltalk classNamed: interpreterClassName)
emitInterpreterProxyVersionOn: aStream.
self emitDefineBytesPerWordOn: aStream.
- self emitDefineMemoryAccessInImageOn: aStream.
aStream cr.
aStream close
!