Skip to content

Commit

Permalink
CogVM sources as per VMMaker.oscog-eem.3189
Browse files Browse the repository at this point in the history
Fix regression in building the v3 VMs caused by VMMaker.oscog-eem.3183.
[New]ObjectMemory (i.e. v3) must export storeLong32:ofObject:withValue:.
  • Loading branch information
eliotmiranda committed Jun 14, 2022
1 parent f419257 commit 1964ef3
Show file tree
Hide file tree
Showing 5 changed files with 26 additions and 29 deletions.
13 changes: 6 additions & 7 deletions src/v3.cog/cointerp.c
@@ -1,9 +1,9 @@
/* Automatically generated by
CCodeGeneratorGlobalStructure VMMaker.oscog-eem.3187 uuid: 409db813-9691-40ab-8d5b-8960d3b50fbc
CCodeGeneratorGlobalStructure VMMaker.oscog-eem.3189 uuid: c257f883-eae2-443b-9022-ddfa15061b25
from
CoInterpreter VMMaker.oscog-eem.3187 uuid: 409db813-9691-40ab-8d5b-8960d3b50fbc
CoInterpreter VMMaker.oscog-eem.3189 uuid: c257f883-eae2-443b-9022-ddfa15061b25
*/
static char __buildInfo[] = "CoInterpreter VMMaker.oscog-eem.3187 uuid: 409db813-9691-40ab-8d5b-8960d3b50fbc " __DATE__ ;
static char __buildInfo[] = "CoInterpreter VMMaker.oscog-eem.3189 uuid: c257f883-eae2-443b-9022-ddfa15061b25 " __DATE__ ;
char *__interpBuildInfo = __buildInfo;


Expand Down Expand Up @@ -1063,7 +1063,7 @@ static sqInt sixtyFourBitIndexableFormat(void);
extern sqInt slotSizeOf(sqInt oop);
extern sqInt splObj(sqInt index);
EXPORT(sqInt) statNumGCs(void);
EXPORT(sqInt) storeLong32ofObjectwithValue(sqInt fieldIndex, sqInt oop, sqInt valueWord);
extern sqInt storeLong32ofObjectwithValue(sqInt fieldIndex, sqInt oop, sqInt valueWord);
extern sqInt storePointerUncheckedofObjectwithValue(sqInt fieldIndex, sqInt oop, sqInt valuePointer);
extern sqInt storePointerofObjectwithValue(sqInt fieldIndex, sqInt oop, sqInt valuePointer);
extern sqInt stringForCString(const char *aCString);
Expand Down Expand Up @@ -2244,7 +2244,7 @@ sqInt debugCallbackInvokes;
sqInt debugCallbackReturns;
sqInt cannotDeferDisplayUpdates;
sqInt checkedPluginName;
const char *interpreterVersion = "Open Smalltalk Cog[SqueakV3] VM [CoInterpreterPrimitives VMMaker.oscog-eem.3187]";
const char *interpreterVersion = "Open Smalltalk Cog[SqueakV3] VM [CoInterpreterPrimitives VMMaker.oscog-eem.3189]";
sqInt minBackwardJumpCountForCompile = MinBackwardJumpCountForCompile /* 40 */;
char expensiveAsserts = 0;
int (*showSurfaceFn)(sqIntptr_t, int, int, int, int);
Expand Down Expand Up @@ -40821,7 +40821,7 @@ statNumGCs(void)
}

/* ObjectMemory>>#storeLong32:ofObject:withValue: */
EXPORT(sqInt)
sqInt
storeLong32ofObjectwithValue(sqInt fieldIndex, sqInt oop, sqInt valueWord)
{
return long32Atput((oop + BaseHeaderSize) + (((sqInt)((usqInt)(fieldIndex) << 2))), valueWord);
Expand Down Expand Up @@ -57347,7 +57347,6 @@ void* vm_exports[][3] = {
{(void*)_m, "shortPrintFramesOnStackPageListInUse", (void*)shortPrintFramesOnStackPageListInUse},
{(void*)_m, "shortPrintFrameAndNCallers", (void*)shortPrintFrameAndNCallers},
{(void*)_m, "statNumGCs", (void*)statNumGCs},
{(void*)_m, "storeLong32ofObjectwithValue", (void*)storeLong32ofObjectwithValue},
{(void*)_m, "whereIs", (void*)whereIs},
{NULL, NULL, NULL}
};
3 changes: 2 additions & 1 deletion src/v3.cog/cointerp.h
@@ -1,5 +1,5 @@
/* Automatically generated by
CCodeGeneratorGlobalStructure VMMaker.oscog-eem.3187 uuid: 409db813-9691-40ab-8d5b-8960d3b50fbc
CCodeGeneratorGlobalStructure VMMaker.oscog-eem.3189 uuid: c257f883-eae2-443b-9022-ddfa15061b25
*/


Expand Down Expand Up @@ -213,6 +213,7 @@ extern sqInt remap(sqInt oop);
extern sqInt shouldRemapObj(sqInt oop);
extern sqInt shouldRemapOop(sqInt oop);
extern sqInt splObj(sqInt index);
extern sqInt storeLong32ofObjectwithValue(sqInt fieldIndex, sqInt oop, sqInt valueWord);
extern sqInt storePointerUncheckedofObjectwithValue(sqInt fieldIndex, sqInt oop, sqInt valuePointer);
extern sqInt stringForCString(const char *aCString);
extern void tenuringIncrementalGC(void);
Expand Down
13 changes: 6 additions & 7 deletions src/v3.cog/gcc3x-cointerp.c
Expand Up @@ -2,11 +2,11 @@


/* Automatically generated by
CCodeGeneratorGlobalStructure VMMaker.oscog-eem.3187 uuid: 409db813-9691-40ab-8d5b-8960d3b50fbc
CCodeGeneratorGlobalStructure VMMaker.oscog-eem.3189 uuid: c257f883-eae2-443b-9022-ddfa15061b25
from
CoInterpreter VMMaker.oscog-eem.3187 uuid: 409db813-9691-40ab-8d5b-8960d3b50fbc
CoInterpreter VMMaker.oscog-eem.3189 uuid: c257f883-eae2-443b-9022-ddfa15061b25
*/
static char __buildInfo[] = "CoInterpreter VMMaker.oscog-eem.3187 uuid: 409db813-9691-40ab-8d5b-8960d3b50fbc " __DATE__ ;
static char __buildInfo[] = "CoInterpreter VMMaker.oscog-eem.3189 uuid: c257f883-eae2-443b-9022-ddfa15061b25 " __DATE__ ;
char *__interpBuildInfo = __buildInfo;


Expand Down Expand Up @@ -1066,7 +1066,7 @@ static sqInt sixtyFourBitIndexableFormat(void);
extern sqInt slotSizeOf(sqInt oop);
extern sqInt splObj(sqInt index);
EXPORT(sqInt) statNumGCs(void);
EXPORT(sqInt) storeLong32ofObjectwithValue(sqInt fieldIndex, sqInt oop, sqInt valueWord);
extern sqInt storeLong32ofObjectwithValue(sqInt fieldIndex, sqInt oop, sqInt valueWord);
extern sqInt storePointerUncheckedofObjectwithValue(sqInt fieldIndex, sqInt oop, sqInt valuePointer);
extern sqInt storePointerofObjectwithValue(sqInt fieldIndex, sqInt oop, sqInt valuePointer);
extern sqInt stringForCString(const char *aCString);
Expand Down Expand Up @@ -2247,7 +2247,7 @@ sqInt debugCallbackInvokes;
sqInt debugCallbackReturns;
sqInt cannotDeferDisplayUpdates;
sqInt checkedPluginName;
const char *interpreterVersion = "Open Smalltalk Cog[SqueakV3] VM [CoInterpreterPrimitives VMMaker.oscog-eem.3187]";
const char *interpreterVersion = "Open Smalltalk Cog[SqueakV3] VM [CoInterpreterPrimitives VMMaker.oscog-eem.3189]";
sqInt minBackwardJumpCountForCompile = MinBackwardJumpCountForCompile /* 40 */;
char expensiveAsserts = 0;
int (*showSurfaceFn)(sqIntptr_t, int, int, int, int);
Expand Down Expand Up @@ -40830,7 +40830,7 @@ statNumGCs(void)
}

/* ObjectMemory>>#storeLong32:ofObject:withValue: */
EXPORT(sqInt)
sqInt
storeLong32ofObjectwithValue(sqInt fieldIndex, sqInt oop, sqInt valueWord)
{
return long32Atput((oop + BaseHeaderSize) + (((sqInt)((usqInt)(fieldIndex) << 2))), valueWord);
Expand Down Expand Up @@ -57356,7 +57356,6 @@ void* vm_exports[][3] = {
{(void*)_m, "shortPrintFramesOnStackPageListInUse", (void*)shortPrintFramesOnStackPageListInUse},
{(void*)_m, "shortPrintFrameAndNCallers", (void*)shortPrintFrameAndNCallers},
{(void*)_m, "statNumGCs", (void*)statNumGCs},
{(void*)_m, "storeLong32ofObjectwithValue", (void*)storeLong32ofObjectwithValue},
{(void*)_m, "whereIs", (void*)whereIs},
{NULL, NULL, NULL}
};
13 changes: 6 additions & 7 deletions src/v3.stack/gcc3x-interp.c
Expand Up @@ -2,11 +2,11 @@


/* Automatically generated by
CCodeGeneratorGlobalStructure VMMaker.oscog-eem.3187 uuid: 409db813-9691-40ab-8d5b-8960d3b50fbc
CCodeGeneratorGlobalStructure VMMaker.oscog-eem.3189 uuid: c257f883-eae2-443b-9022-ddfa15061b25
from
StackInterpreter VMMaker.oscog-eem.3187 uuid: 409db813-9691-40ab-8d5b-8960d3b50fbc
StackInterpreter VMMaker.oscog-eem.3189 uuid: c257f883-eae2-443b-9022-ddfa15061b25
*/
static char __buildInfo[] = "StackInterpreter VMMaker.oscog-eem.3187 uuid: 409db813-9691-40ab-8d5b-8960d3b50fbc " __DATE__ ;
static char __buildInfo[] = "StackInterpreter VMMaker.oscog-eem.3189 uuid: c257f883-eae2-443b-9022-ddfa15061b25 " __DATE__ ;
char *__interpBuildInfo = __buildInfo;


Expand Down Expand Up @@ -773,7 +773,7 @@ static sqInt sixtyFourBitIndexableFormat(void);
extern sqInt slotSizeOf(sqInt oop);
extern sqInt splObj(sqInt index);
EXPORT(sqInt) statNumGCs(void);
EXPORT(sqInt) storeLong32ofObjectwithValue(sqInt fieldIndex, sqInt oop, sqInt valueWord);
extern sqInt storeLong32ofObjectwithValue(sqInt fieldIndex, sqInt oop, sqInt valueWord);
extern sqInt storePointerUncheckedofObjectwithValue(sqInt fieldIndex, sqInt oop, sqInt valuePointer);
extern sqInt storePointerofObjectwithValue(sqInt fieldIndex, sqInt oop, sqInt valuePointer);
extern sqInt stringForCString(const char *aCString);
Expand Down Expand Up @@ -1978,7 +1978,7 @@ sqInt debugCallbackInvokes;
sqInt debugCallbackReturns;
sqInt cannotDeferDisplayUpdates;
sqInt checkedPluginName;
const char *interpreterVersion = "Open Smalltalk Stack VM [StackInterpreterPrimitives VMMaker.oscog-eem.3187]";
const char *interpreterVersion = "Open Smalltalk Stack VM [StackInterpreterPrimitives VMMaker.oscog-eem.3189]";
sqInt suppressHeartbeatFlag;
char expensiveAsserts = 0;
int (*showSurfaceFn)(sqIntptr_t, int, int, int, int);
Expand Down Expand Up @@ -29875,7 +29875,7 @@ statNumGCs(void)
}

/* ObjectMemory>>#storeLong32:ofObject:withValue: */
EXPORT(sqInt)
sqInt
storeLong32ofObjectwithValue(sqInt fieldIndex, sqInt oop, sqInt valueWord)
{
return long32Atput((oop + BaseHeaderSize) + (((sqInt)((usqInt)(fieldIndex) << 2))), valueWord);
Expand Down Expand Up @@ -49214,7 +49214,6 @@ void* vm_exports[][3] = {
{(void*)_m, "shortPrintFramesOnStackPageListInUse", (void*)shortPrintFramesOnStackPageListInUse},
{(void*)_m, "shortPrintFrameAndNCallers", (void*)shortPrintFrameAndNCallers},
{(void*)_m, "statNumGCs", (void*)statNumGCs},
{(void*)_m, "storeLong32ofObjectwithValue", (void*)storeLong32ofObjectwithValue},
{(void*)_m, "whereIs", (void*)whereIs},
{NULL, NULL, NULL}
};
13 changes: 6 additions & 7 deletions src/v3.stack/interp.c
@@ -1,9 +1,9 @@
/* Automatically generated by
CCodeGeneratorGlobalStructure VMMaker.oscog-eem.3187 uuid: 409db813-9691-40ab-8d5b-8960d3b50fbc
CCodeGeneratorGlobalStructure VMMaker.oscog-eem.3189 uuid: c257f883-eae2-443b-9022-ddfa15061b25
from
StackInterpreter VMMaker.oscog-eem.3187 uuid: 409db813-9691-40ab-8d5b-8960d3b50fbc
StackInterpreter VMMaker.oscog-eem.3189 uuid: c257f883-eae2-443b-9022-ddfa15061b25
*/
static char __buildInfo[] = "StackInterpreter VMMaker.oscog-eem.3187 uuid: 409db813-9691-40ab-8d5b-8960d3b50fbc " __DATE__ ;
static char __buildInfo[] = "StackInterpreter VMMaker.oscog-eem.3189 uuid: c257f883-eae2-443b-9022-ddfa15061b25 " __DATE__ ;
char *__interpBuildInfo = __buildInfo;


Expand Down Expand Up @@ -770,7 +770,7 @@ static sqInt sixtyFourBitIndexableFormat(void);
extern sqInt slotSizeOf(sqInt oop);
extern sqInt splObj(sqInt index);
EXPORT(sqInt) statNumGCs(void);
EXPORT(sqInt) storeLong32ofObjectwithValue(sqInt fieldIndex, sqInt oop, sqInt valueWord);
extern sqInt storeLong32ofObjectwithValue(sqInt fieldIndex, sqInt oop, sqInt valueWord);
extern sqInt storePointerUncheckedofObjectwithValue(sqInt fieldIndex, sqInt oop, sqInt valuePointer);
extern sqInt storePointerofObjectwithValue(sqInt fieldIndex, sqInt oop, sqInt valuePointer);
extern sqInt stringForCString(const char *aCString);
Expand Down Expand Up @@ -1975,7 +1975,7 @@ sqInt debugCallbackInvokes;
sqInt debugCallbackReturns;
sqInt cannotDeferDisplayUpdates;
sqInt checkedPluginName;
const char *interpreterVersion = "Open Smalltalk Stack VM [StackInterpreterPrimitives VMMaker.oscog-eem.3187]";
const char *interpreterVersion = "Open Smalltalk Stack VM [StackInterpreterPrimitives VMMaker.oscog-eem.3189]";
sqInt suppressHeartbeatFlag;
char expensiveAsserts = 0;
int (*showSurfaceFn)(sqIntptr_t, int, int, int, int);
Expand Down Expand Up @@ -29866,7 +29866,7 @@ statNumGCs(void)
}

/* ObjectMemory>>#storeLong32:ofObject:withValue: */
EXPORT(sqInt)
sqInt
storeLong32ofObjectwithValue(sqInt fieldIndex, sqInt oop, sqInt valueWord)
{
return long32Atput((oop + BaseHeaderSize) + (((sqInt)((usqInt)(fieldIndex) << 2))), valueWord);
Expand Down Expand Up @@ -49205,7 +49205,6 @@ void* vm_exports[][3] = {
{(void*)_m, "shortPrintFramesOnStackPageListInUse", (void*)shortPrintFramesOnStackPageListInUse},
{(void*)_m, "shortPrintFrameAndNCallers", (void*)shortPrintFrameAndNCallers},
{(void*)_m, "statNumGCs", (void*)statNumGCs},
{(void*)_m, "storeLong32ofObjectwithValue", (void*)storeLong32ofObjectwithValue},
{(void*)_m, "whereIs", (void*)whereIs},
{NULL, NULL, NULL}
};

0 comments on commit 1964ef3

Please sign in to comment.