[Vm-dev] VM Maker: VMMaker-dtl.425.mcz
commits at source.squeak.org
commits at source.squeak.org
Wed Jul 14 23:29:27 UTC 2021
David T. Lewis uploaded a new version of VMMaker to project VM Maker:
http://source.squeak.org/VMMaker/VMMaker-dtl.425.mcz
==================== Summary ====================
Name: VMMaker-dtl.425
Author: dtl
Time: 14 July 2021, 7:29:18.628 pm
UUID: 40a40562-1f36-44c6-9dec-76d41e49f0c7
Ancestors: VMMaker-dtl.424
VMMaker 4.19.8
Include sqConfig.h earlier in generated plugin code, required for generated plugin sources to be compatible with opensmalltalk-vm code base, no functional impact for VMMaker trunk. Reference https://github.com/OpenSmalltalk/opensmalltalk-vm/pull/562
=============== Diff against VMMaker-dtl.424 ===============
Item was changed:
----- Method: VMMaker class>>versionString (in category 'version testing') -----
versionString
"VMMaker versionString"
+ ^'4.19.8'!
- ^'4.19.7'!
Item was changed:
----- Method: VMPluginCodeGenerator>>emitCHeaderOn: (in category 'C code generator') -----
emitCHeaderOn: aStream
"Write a C file header onto the given stream."
aStream nextPutAll: '/* '.
aStream nextPutAll: VMMaker headerNotice.
aStream nextPutAll: ' */';cr.
aStream nextPutAll: (self fileHeaderVersionStampForSourceClass: vmClass).
aStream cr; cr.
aStream nextPutAll:'
+ /* Configuration options */
+ #include "sqConfig.h"
+
#include <math.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <time.h>
/* Default EXPORT macro that does nothing (see comment in sq.h): */
#define EXPORT(returnType) returnType
/* Do not include the entire sq.h file but just those parts needed. */
/* The virtual machine proxy definition */
#include "sqVirtualMachine.h"
- /* Configuration options */
- #include "sqConfig.h"
/* Platform specific definitions */
#include "sqPlatformSpecific.h"
#define true 1
#define false 0
#define null 0 /* using ''null'' because nil is predefined in Think C */
#ifdef SQUEAK_BUILTIN_PLUGIN
#undef EXPORT
// was #undef EXPORT(returnType) but screws NorCroft cc
#define EXPORT(returnType) static returnType
#endif
'.
"Additional header files"
self emitHeaderFilesOn: aStream.
aStream nextPutAll: '
#include "sqMemoryAccess.h"
'.
aStream cr.!
More information about the Vm-dev
mailing list