11/* Automatically generated by
2- CCodeGeneratorGlobalStructure VMMaker.oscog-mt.3184 uuid: 57b61827-3f1a-ab45-966e-7c5caaef28d7
2+ CCodeGeneratorGlobalStructure VMMaker.oscog-dtl.3185 uuid: 0e7f07b8-eed6-4362-b223-86c98594ddb9
33 from
4- CoInterpreter VMMaker.oscog-mt.3184 uuid: 57b61827-3f1a-ab45-966e-7c5caaef28d7
4+ CoInterpreter VMMaker.oscog-dtl.3185 uuid: 0e7f07b8-eed6-4362-b223-86c98594ddb9
55 */
6- static char __buildInfo[] = "CoInterpreter VMMaker.oscog-mt.3184 uuid: 57b61827-3f1a-ab45-966e-7c5caaef28d7 " __DATE__ ;
6+ static char __buildInfo[] = "CoInterpreter VMMaker.oscog-dtl.3185 uuid: 0e7f07b8-eed6-4362-b223-86c98594ddb9 " __DATE__ ;
77char *__interpBuildInfo = __buildInfo;
88
99
@@ -1856,6 +1856,7 @@ _iss sqInt externalPrimitiveTableFirstFreeIndex;
18561856_iss sqInt firstFieldOfRememberedSet;
18571857_iss sqInt firstSegmentSize;
18581858_iss usqInt lowSpaceThreshold;
1859+ _iss sqInt multipleBytecodeSetsActive;
18591860_iss sqInt preemptionYields;
18601861_iss FILE * scavengeLog;
18611862_iss sqInt statMaxAllocSegmentTime;
@@ -1866,7 +1867,6 @@ _iss sqInt edenBytes;
18661867_iss sqInt fullScreenFlag;
18671868_iss usqInt lastHash;
18681869_iss sqInt lastMethodCacheProbeWrite;
1869- _iss sqInt multipleBytecodeSetsActive;
18701870_iss sqInt newFinalization;
18711871_iss sqInt rememberedSetRedZone;
18721872_iss sqInt savedWindowSize;
@@ -2007,7 +2007,7 @@ static signed short primitiveMetadataTable[MaxPrimitiveIndex + 2 /* 581 */] = {
20072007/*78*/ 0, 0,
20082008/*80*/ -256,-256,-256, 4, 4, 0, 0x100, 0, 0x200,-256,-256, 0, 0, 0, 0x100,-256,-256,
20092009/*97*/ -256, 0, 0,
2010- /*100*/ 260, 0x200, 0x100 , 0x200,-256, 513,-256,-256,-256,-256, 0, 0x100, 0, 0,-256,
2010+ /*100*/ 260, 0x200, 0x200 , 0x200,-256, 513,-256,-256,-256,-256, 0, 0x100, 0, 0,-256,
20112011/*115*/ 0x100, 0, 12, 260, 0,
20122012/*120*/ 524, 0x100,-256,-256, 1, 0, 0, 0, 0,-255,-256,-256, 0, 0, 0,-256, 0,-256,-256,
20132013/*139*/ 0,
@@ -2676,7 +2676,7 @@ sqInt debugCallbackInvokes;
26762676sqInt debugCallbackReturns;
26772677sqInt cannotDeferDisplayUpdates;
26782678sqInt checkedPluginName;
2679- const char *interpreterVersion = "Newspeak Virtual Machine [ Open Smalltalk, Spur] CoInterpreterPrimitives_VMMaker.oscog-mt.3184 ";
2679+ const char *interpreterVersion = "Newspeak Virtual Machine [ Open Smalltalk, Spur] CoInterpreterPrimitives_VMMaker.oscog-dtl.3185 ";
26802680sqInt minBackwardJumpCountForCompile = MinBackwardJumpCountForCompile /* 40 */;
26812681char expensiveAsserts = 0;
26822682int (*showSurfaceFn)(sqIntptr_t, int, int, int, int);
@@ -34419,6 +34419,7 @@ primitiveIdentityHash(void)
3441934419EXPORT(sqInt)
3442034420primitiveImageFormatVersion(void)
3442134421{ DECL_MAYBE_SQ_GLOBAL_STRUCT
34422+ unsigned int integerValue;
3442234423 usqInt newLargeInteger;
3442334424 usqInt newObj;
3442434425 usqInt numBytes;
@@ -34427,10 +34428,20 @@ primitiveImageFormatVersion(void)
3442734428 char *sp;
3442834429
3442934430 /* begin pop:thenPush: */
34431+ if (GIV(multipleBytecodeSetsActive)) {
34432+ integerValue = ((sqInt) (6521 /* imageFormatVersion */ | MultipleBytecodeSetsBitmask));
34433+ goto l6;
34434+ }
34435+ else {
34436+ /* begin imageFormatVersion */
34437+ integerValue = 6521;
34438+ goto l6;
34439+ }
34440+ l6: /* end imageFormatVersionForSnapshot */;
3443034441 /* begin maybeInlinePositive32BitIntegerFor: */
3443134442 assert(!((hasSixtyFourBitImmediates())));
34432- if ((((unsigned int) 6521 /* imageFormatVersion */ )) <= (MaxSmallInteger)) {
34433- oop = (((usqInt)6521 /* imageFormatVersion */ << 1) | 1);
34443+ if ((((unsigned int) integerValue )) <= (MaxSmallInteger)) {
34444+ oop = ((integerValue << 1) | 1);
3443434445 goto l5;
3443534446 }
3443634447 /* begin eeInstantiateSmallClassIndex:format:numSlots: */
@@ -34465,7 +34476,7 @@ primitiveImageFormatVersion(void)
3446534476 /* Memory is 8 byte aligned in Spur, make sure that oversized bytes are set to zero */
3446634477 /* eem 4/28/2016 questionable; they should never be read */
3446734478 /* begin storeLong32:ofObject:withValue: */
34468- long32Atput((newLargeInteger + BaseHeaderSize), SQ_SWAP_4_BYTES_IF_BIGENDIAN(6521 /* imageFormatVersion */ ));
34479+ long32Atput((newLargeInteger + BaseHeaderSize), SQ_SWAP_4_BYTES_IF_BIGENDIAN(integerValue ));
3446934480 /* begin storeLong32:ofObject:withValue: */
3447034481 long32Atput((newLargeInteger + BaseHeaderSize) + (4), 0);
3447134482 oop = newLargeInteger;
@@ -61866,7 +61877,7 @@ updatePointersInsavedFirstFieldPointer(sqInt obj, sqInt firstFieldPtr)
6186661877 assert((ReceiverIndex + ((sp >> 1))) < (lengthOf(obj)));
6186761878 contextSize = (sp >> 1);
6186861879 l6: /* end fetchStackPointerOf: */;
61869- numPointerSlots = ((usqInt) ( CtxtTempFrameStart + contextSize)) ;
61880+ numPointerSlots = CtxtTempFrameStart + contextSize;
6187061881 goto l10;
6187161882 }
6187261883 /* begin numSlotsOf: */
@@ -61896,7 +61907,7 @@ updatePointersInsavedFirstFieldPointer(sqInt obj, sqInt firstFieldPtr)
6189661907 /* begin literalCountOfMethodHeader: */
6189761908 assert((header & 1));
6189861909 numLiterals = ((header >> 1)) & AlternateHeaderNumLiteralsMask;
61899- numPointerSlots = ((usqInt) ( numLiterals + LiteralStart)) ;
61910+ numPointerSlots = numLiterals + LiteralStart;
6190061911 l10: /* end numPointerSlotsWhileCompactingOf:withFormat:savedFirstFieldPointer: */;
6190161912 if ((fmt <= 5 /* lastPointerFormat */)
6190261913 && (numPointerSlots > 0)) {
0 commit comments