Eliot Miranda uploaded a new version of VMMaker to project VM Maker:
http://source.squeak.org/VMMaker/VMMaker.oscog-eem.2586.mcz
==================== Summary ====================
Name: VMMaker.oscog-eem.2586
Author: eem
Time: 17 November 2019, 10:27:40.821889 am
UUID: ae4e24e7-dc65-411b-9f81-53f66f183eaf
Ancestors: VMMaker.oscog-eem.2585
Eliminate info duplicaton in new interpreter version name.
=============== Diff against VMMaker.oscog-eem.2585 ===============
Item was changed:
----- Method: VMClass class>>declareInterpreterVersionIn:defaultName: (in category 'translation') -----
declareInterpreterVersionIn: aCCodeGenerator defaultName: defaultName
- | objMemName |
- objMemName := aCCodeGenerator vmClass objectMemoryClass memoryManagerName.
NewspeakVM ifTrue:
["Newspeak as of mid 2011 derives SystemScope systemName from the interpreterVersion
(via system attribute 1004) by copying up to but not including the last space, provided the
string ends with a digit. So spaces must be eliminated from the Monitcello version string,
and we can't surround it with square brackets."
(aCCodeGenerator shortMonticelloDescriptionForClass: self) last isDigit ifFalse:
[self error: 'Newspeak expects interpreterVersion ends with a digit'].
aCCodeGenerator
var: #interpreterVersion
declareC: 'const char *interpreterVersion = "Newspeak Virtual Machine ',
+ ('[ Open Smalltalk, ', aCCodeGenerator vmClass objectMemoryClass memoryManagerName,'] '),
- ('[ Open Smalltalk, ',objMemName,'] '),
((aCCodeGenerator shortMonticelloDescriptionForClass: self) copyReplaceAll: ' ' with: '_'),
'"'.
^self].
aCCodeGenerator
var: #interpreterVersion
declareC: 'const char *interpreterVersion = "Open Smalltalk ', defaultName, ' VM [',
- objMemName, ' ',
(aCCodeGenerator shortMonticelloDescriptionForClass: self),']"'!
Branch: refs/heads/Cog
Home: https://github.com/OpenSmalltalk/opensmalltalk-vm
Commit: a5d6874e64d6c5c4a19db04abe2cc03333fd9a48
https://github.com/OpenSmalltalk/opensmalltalk-vm/commit/a5d6874e64d6c5c4a1…
Author: Eliot Miranda <eliot.miranda(a)gmail.com>
Date: 2019-11-15 (Fri, 15 Nov 2019)
Changed paths:
M build.macos32x86/common/Makefile.vm
Log Message:
-----------
Add image leak checker build to the 32-bit Mac Makefile. [ci skip]
Commit: 21112274a794c0f19d570a1454bde345870674e6
https://github.com/OpenSmalltalk/opensmalltalk-vm/commit/21112274a794c0f19d…
Author: Eliot Miranda <eliot.miranda(a)gmail.com>
Date: 2019-11-15 (Fri, 15 Nov 2019)
Changed paths:
M nsspur64src/vm/cogit.h
M nsspur64src/vm/cogitX64SysV.c
M nsspur64src/vm/cogitX64WIN64.c
M nsspur64src/vm/cointerp.c
M nsspur64src/vm/cointerp.h
M nsspur64src/vm/gcc3x-cointerp.c
M nsspursrc/vm/cogit.h
M nsspursrc/vm/cogitARMv5.c
M nsspursrc/vm/cogitIA32.c
M nsspursrc/vm/cogitMIPSEL.c
M nsspursrc/vm/cointerp.c
M nsspursrc/vm/cointerp.h
M nsspursrc/vm/gcc3x-cointerp.c
M nsspurstack64src/vm/gcc3x-interp.c
M nsspurstack64src/vm/interp.c
M nsspurstacksrc/vm/gcc3x-interp.c
M nsspurstacksrc/vm/interp.c
M spur64src/vm/cogit.h
M spur64src/vm/cogitX64SysV.c
M spur64src/vm/cogitX64WIN64.c
M spur64src/vm/cointerp.c
M spur64src/vm/cointerp.h
M spur64src/vm/cointerpmt.c
M spur64src/vm/cointerpmt.h
M spur64src/vm/gcc3x-cointerp.c
M spur64src/vm/gcc3x-cointerpmt.c
M spurlowcode64src/vm/cogit.h
M spurlowcode64src/vm/cogitX64SysV.c
M spurlowcode64src/vm/cogitX64WIN64.c
M spurlowcode64src/vm/cointerp.c
M spurlowcode64src/vm/cointerp.h
M spurlowcode64src/vm/gcc3x-cointerp.c
M spurlowcodesrc/vm/cogit.h
M spurlowcodesrc/vm/cogitARMv5.c
M spurlowcodesrc/vm/cogitIA32.c
M spurlowcodesrc/vm/cogitMIPSEL.c
M spurlowcodesrc/vm/cointerp.c
M spurlowcodesrc/vm/cointerp.h
M spurlowcodesrc/vm/gcc3x-cointerp.c
M spurlowcodestack64src/vm/gcc3x-interp.c
M spurlowcodestack64src/vm/interp.c
M spurlowcodestacksrc/vm/gcc3x-interp.c
M spurlowcodestacksrc/vm/interp.c
M spursista64src/vm/cogit.h
M spursista64src/vm/cogitX64SysV.c
M spursista64src/vm/cogitX64WIN64.c
M spursista64src/vm/cointerp.c
M spursista64src/vm/cointerp.h
M spursista64src/vm/gcc3x-cointerp.c
M spursistasrc/vm/cogit.h
M spursistasrc/vm/cogitARMv5.c
M spursistasrc/vm/cogitIA32.c
M spursistasrc/vm/cogitMIPSEL.c
M spursistasrc/vm/cointerp.c
M spursistasrc/vm/cointerp.h
M spursistasrc/vm/gcc3x-cointerp.c
M spursrc/vm/cogit.h
M spursrc/vm/cogitARMv5.c
M spursrc/vm/cogitIA32.c
M spursrc/vm/cogitMIPSEL.c
M spursrc/vm/cointerp.c
M spursrc/vm/cointerp.h
M spursrc/vm/cointerpmt.c
M spursrc/vm/cointerpmt.h
M spursrc/vm/gcc3x-cointerp.c
M spursrc/vm/gcc3x-cointerpmt.c
M spurstack64src/vm/gcc3x-interp.c
M spurstack64src/vm/interp.c
M spurstack64src/vm/validImage.c
M spurstacksrc/vm/gcc3x-interp.c
M spurstacksrc/vm/interp.c
M spurstacksrc/vm/validImage.c
M src/plugins/ImmX11Plugin/ImmX11Plugin.c
M src/vm/cogit.h
M src/vm/cogitARMv5.c
M src/vm/cogitIA32.c
M src/vm/cogitMIPSEL.c
M src/vm/cointerp.c
M src/vm/cointerp.h
M src/vm/cointerpmt.c
M src/vm/cointerpmt.h
M src/vm/gcc3x-cointerp.c
M src/vm/gcc3x-cointerpmt.c
M stacksrc/vm/gcc3x-interp.c
M stacksrc/vm/interp.c
Log Message:
-----------
CogVm source as per VMMaker.oscog-eem.2585
Interpreters
Avoid naming a variable 'bool' in generated methods, this might become a reserved C word (can lead to problems when compiling with -std-c99 option).
Cogit:
Fix for generated directed super send only when BytecodeSetHasDirectedSuperSend
genSendDirectedSuper:numArgs: method is generated when
BytecodeSetHasDirectedSuperSend is false (Newspeak).
This lead to completely broken generated code, which is fortunately unused,
but raise false alarms for whoever might want to analyze the C code.
Slang:
Enlarge and rationalize the kinds of "quick" mthods that will be inlined when
doInlining answers asSpecifiedAndQuick. Include any and all that just answer
self or a constant (i.e. include those that take arguments). Include any and
all that perform only a signle assignment, either answering the value or
answering self.
Fix inlining of literal blocks vs inlining of two element statement lists
created by the inliner. Do so by introducing a subclass of TStmtListNode
called TLiteralBlockNode which has one method, isLiteralBlock and is used by
BlockNode>>asTranslatorNodeIn:. Use asRootTranslatorNodeIn: to create
top-level method statement lists. Better comment collectInlineList:.
Allow comma on strings to translate into ANSI C automatic literal string
concatenation.
Compare: https://github.com/OpenSmalltalk/opensmalltalk-vm/compare/f83bde2bf5c3...21…
Branch: refs/heads/Cog
Home: https://github.com/OpenSmalltalk/opensmalltalk-vm
Commit: f83bde2bf5c325ce26f3368bc221578a752a9631
https://github.com/OpenSmalltalk/opensmalltalk-vm/commit/f83bde2bf5c325ce26…
Author: Eliot Miranda <eliot.miranda(a)gmail.com>
Date: 2019-11-15 (Fri, 15 Nov 2019)
Changed paths:
M build.macos64x64/common/Makefile.vm
M spurstack64src/vm/validImage.c
M spurstacksrc/vm/validImage.c
Log Message:
-----------
Leak checker as per VMMaker.oscog-eem.2583
ImageChecker must not specify excluding unmarked objects, since objects are
unmarked on load. Have its main routine respond to a -version argument.
Modify the 64-bit Mac Makefile.vm to generate validImage via make productilc et al.
[ci skip]
Eliot Miranda uploaded a new version of VMMaker to project VM Maker:
http://source.squeak.org/VMMaker/VMMaker.oscog-eem.2584.mcz
==================== Summary ====================
Name: VMMaker.oscog-eem.2584
Author: eem
Time: 15 November 2019, 4:59:35.439138 pm
UUID: e545207f-00cf-4db0-b34c-7cd19b583b29
Ancestors: VMMaker.oscog-eem.2583
And, goddamnit, have a Newspeak VM reveal the same.
=============== Diff against VMMaker.oscog-eem.2583 ===============
Item was changed:
----- Method: VMClass class>>declareInterpreterVersionIn:defaultName: (in category 'translation') -----
declareInterpreterVersionIn: aCCodeGenerator defaultName: defaultName
| objMemName |
objMemName := aCCodeGenerator vmClass objectMemoryClass memoryManagerName.
NewspeakVM ifTrue:
["Newspeak as of mid 2011 derives SystemScope systemName from the interpreterVersion
(via system attribute 1004) by copying up to but not including the last space, provided the
string ends with a digit. So spaces must be eliminated from the Monitcello version string,
and we can't surround it with square brackets."
(aCCodeGenerator shortMonticelloDescriptionForClass: self) last isDigit ifFalse:
[self error: 'Newspeak expects interpreterVersion ends with a digit'].
aCCodeGenerator
var: #interpreterVersion
declareC: 'const char *interpreterVersion = "Newspeak Virtual Machine ',
+ ('[ Open Smalltalk, ',objMemName,'] '),
- ('[',objMemName,'] '),
((aCCodeGenerator shortMonticelloDescriptionForClass: self) copyReplaceAll: ' ' with: '_'),
'"'.
^self].
aCCodeGenerator
var: #interpreterVersion
declareC: 'const char *interpreterVersion = "Open Smalltalk ', defaultName, ' VM [',
objMemName, ' ',
(aCCodeGenerator shortMonticelloDescriptionForClass: self),']"'!
Branch: refs/heads/Cog
Home: https://github.com/OpenSmalltalk/opensmalltalk-vm
Commit: 51f00e0da0e2c9242bce4aaecd6173fa5d6665f4
https://github.com/OpenSmalltalk/opensmalltalk-vm/commit/51f00e0da0e2c9242b…
Author: Eliot Miranda <eliot.miranda(a)gmail.com>
Date: 2019-11-15 (Fri, 15 Nov 2019)
Changed paths:
A spurstack64src/vm/validImage.c
A spurstacksrc/vm/validImage.c
Log Message:
-----------
Add the Spur image leak checkers before updating the makefiles to build them.
I don't know why I'm doing it like this either ;-)
[ci skip]