|
1 | 1 | /* Automatically generated by |
2 | | - CCodeGeneratorGlobalStructure VMMaker.oscog-eem.2967 uuid: 57b9e5f9-0212-436d-acaf-4e501e470621 |
| 2 | + CCodeGeneratorGlobalStructure VMMaker.oscog-eem.2968 uuid: f7018c3a-ddc0-4f70-aa66-8f8f6b17f40f |
3 | 3 | from |
4 | | - CoInterpreterMT VMMaker.oscog-eem.2967 uuid: 57b9e5f9-0212-436d-acaf-4e501e470621 |
| 4 | + CoInterpreterMT VMMaker.oscog-eem.2968 uuid: f7018c3a-ddc0-4f70-aa66-8f8f6b17f40f |
5 | 5 | */ |
6 | | -static char __buildInfo[] = "CoInterpreterMT VMMaker.oscog-eem.2967 uuid: 57b9e5f9-0212-436d-acaf-4e501e470621 " __DATE__ ; |
| 6 | +static char __buildInfo[] = "CoInterpreterMT VMMaker.oscog-eem.2968 uuid: f7018c3a-ddc0-4f70-aa66-8f8f6b17f40f " __DATE__ ; |
7 | 7 | char *__interpBuildInfo = __buildInfo; |
8 | 8 |
|
9 | 9 |
|
@@ -1327,7 +1327,7 @@ extern sqInt nonIndexablePointerFormat(void); |
1327 | 1327 | static sqInt noUnscannedEphemerons(void); |
1328 | 1328 | static sqInt NoDbgRegParms numBytesOfBytes(sqInt objOop); |
1329 | 1329 | extern sqInt numBytesOf(sqInt objOop); |
1330 | | -extern sqInt numPointerSlotsOf(sqInt objOop); |
| 1330 | +extern usqInt numPointerSlotsOf(sqInt objOop); |
1331 | 1331 | static usqInt NoDbgRegParms numSlotsOfAny(sqInt objOop); |
1332 | 1332 | extern usqInt numSlotsOf(sqInt objOop); |
1333 | 1333 | static sqInt NoDbgRegParms numStrongSlotsOfInephemeral(sqInt objOop); |
@@ -2690,7 +2690,7 @@ sqInt debugCallbackInvokes; |
2690 | 2690 | sqInt debugCallbackReturns; |
2691 | 2691 | sqInt ffiExceptionResponse; |
2692 | 2692 | sqInt checkedPluginName; |
2693 | | -const char *interpreterVersion = "Open Smalltalk Cog MT VM [CoInterpreterMT VMMaker.oscog-eem.2967]"; |
| 2693 | +const char *interpreterVersion = "Open Smalltalk Cog MT VM [CoInterpreterMT VMMaker.oscog-eem.2968]"; |
2694 | 2694 | sqInt minBackwardJumpCountForCompile = MinBackwardJumpCountForCompile /* 40 */; |
2695 | 2695 | int displayWidth; |
2696 | 2696 | int displayDepth; |
@@ -20223,7 +20223,7 @@ printFrameWithSP(char *theFP, char *theSP) |
20223 | 20223 | usqInt index; |
20224 | 20224 | sqInt methodField; |
20225 | 20225 | usqInt numArgs; |
20226 | | - sqInt numTemps; |
| 20226 | + usqInt numTemps; |
20227 | 20227 | char *rcvrAddress; |
20228 | 20228 | sqInt rcvrOrClosure; |
20229 | 20229 | CogBlockMethod * self_in_cmHomeMethod; |
@@ -41523,7 +41523,7 @@ followForwardedObjectFieldstoDepth(sqInt objOop, sqInt depth) |
41523 | 41523 | sqInt header1; |
41524 | 41524 | sqInt i; |
41525 | 41525 | sqInt numLiterals; |
41526 | | - sqInt numSlots; |
| 41526 | + usqInt numSlots; |
41527 | 41527 | usqInt numSlots1; |
41528 | 41528 | sqInt oop; |
41529 | 41529 | sqInt referent; |
@@ -49141,7 +49141,7 @@ copyObjtoAddrstopAtsavedFirstFieldsindex(sqInt objOop, sqInt segAddr, sqInt endS |
49141 | 49141 | sqInt iLimiT; |
49142 | 49142 | sqInt methodHeader; |
49143 | 49143 | sqInt numLiterals; |
49144 | | - sqInt numMediatedSlots; |
| 49144 | + usqInt numMediatedSlots; |
49145 | 49145 | usqInt numSlots; |
49146 | 49146 | usqInt numSlots1; |
49147 | 49147 | sqInt oop; |
@@ -55434,7 +55434,7 @@ numBytesOf(sqInt objOop) |
55434 | 55434 | Works with CompiledMethods, as well as ordinary objects. */ |
55435 | 55435 |
|
55436 | 55436 | /* SpurMemoryManager>>#numPointerSlotsOf: */ |
55437 | | -sqInt |
| 55437 | +usqInt |
55438 | 55438 | numPointerSlotsOf(sqInt objOop) |
55439 | 55439 | { DECL_MAYBE_SQ_GLOBAL_STRUCT |
55440 | 55440 | sqInt contextSize; |
@@ -58516,7 +58516,7 @@ printReferencesTo(sqInt anOop) |
58516 | 58516 | assert((ReceiverIndex + ((sp >> 3))) < (lengthOf(objOop1))); |
58517 | 58517 | contextSize = (sp >> 3); |
58518 | 58518 | l9: /* end fetchStackPointerOf: */; |
58519 | | - i = CtxtTempFrameStart + contextSize; |
| 58519 | + i = ((usqInt) (CtxtTempFrameStart + contextSize)); |
58520 | 58520 | goto l10; |
58521 | 58521 | } |
58522 | 58522 | /* begin numSlotsOf: */ |
@@ -58549,7 +58549,7 @@ printReferencesTo(sqInt anOop) |
58549 | 58549 | /* begin literalCountOfMethodHeader: */ |
58550 | 58550 | assert((((header) & 7) == 1)); |
58551 | 58551 | numLiterals = ((header >> 3)) & AlternateHeaderNumLiteralsMask; |
58552 | | - i = numLiterals + LiteralStart; |
| 58552 | + i = ((usqInt) (numLiterals + LiteralStart)); |
58553 | 58553 | l10: /* end numPointerSlotsOf: */; |
58554 | 58554 | while (((i -= 1)) >= 0) { |
58555 | 58555 | if (anOop == (longAt((objOop1 + BaseHeaderSize) + (((sqInt)((usqInt)(i) << (shiftForWord()))))))) { |
@@ -61711,10 +61711,10 @@ updatePointers(void) |
61711 | 61711 | sqInt numLiterals1; |
61712 | 61712 | sqInt numLiterals2; |
61713 | 61713 | sqInt numLiterals3; |
61714 | | - sqInt numPointerSlots; |
61715 | | - sqInt numPointerSlots1; |
61716 | | - sqInt numPointerSlots2; |
61717 | | - sqInt numPointerSlots3; |
| 61714 | + usqInt numPointerSlots; |
| 61715 | + usqInt numPointerSlots1; |
| 61716 | + usqInt numPointerSlots2; |
| 61717 | + usqInt numPointerSlots3; |
61718 | 61718 | usqInt numSlots; |
61719 | 61719 | usqInt numSlots1; |
61720 | 61720 | usqInt numSlots11; |
@@ -62289,7 +62289,7 @@ updatePointersInsavedFirstFieldPointer(sqInt obj, sqInt firstFieldPtr) |
62289 | 62289 | assert((ReceiverIndex + ((sp >> 3))) < (lengthOf(obj))); |
62290 | 62290 | contextSize = (sp >> 3); |
62291 | 62291 | l6: /* end fetchStackPointerOf: */; |
62292 | | - numPointerSlots = CtxtTempFrameStart + contextSize; |
| 62292 | + numPointerSlots = ((usqInt) (CtxtTempFrameStart + contextSize)); |
62293 | 62293 | goto l10; |
62294 | 62294 | } |
62295 | 62295 | /* begin numSlotsOf: */ |
@@ -62319,7 +62319,7 @@ updatePointersInsavedFirstFieldPointer(sqInt obj, sqInt firstFieldPtr) |
62319 | 62319 | /* begin literalCountOfMethodHeader: */ |
62320 | 62320 | assert((((header) & 7) == 1)); |
62321 | 62321 | numLiterals = ((header >> 3)) & AlternateHeaderNumLiteralsMask; |
62322 | | - numPointerSlots = numLiterals + LiteralStart; |
| 62322 | + numPointerSlots = ((usqInt) (numLiterals + LiteralStart)); |
62323 | 62323 | l10: /* end numPointerSlotsWhileCompactingOf:withFormat:savedFirstFieldPointer: */; |
62324 | 62324 | if ((fmt <= 5 /* lastPointerFormat */) |
62325 | 62325 | && (numPointerSlots > 0)) { |
@@ -69468,7 +69468,8 @@ postGCUpdateDisplayBits(void) |
69468 | 69468 | } |
69469 | 69469 | /* begin fetchPointer:ofObject: */ |
69470 | 69470 | bitsOop = longAt((displayObj + BaseHeaderSize) + (0U << (shiftForWord()))); |
69471 | | - if ((((bitsOop) & 7) == 1)) { |
| 69471 | + if ((bitsOop == GIV(nilObj)) |
| 69472 | + || ((((bitsOop) & 7) == 1))) { |
69472 | 69473 |
|
69473 | 69474 | /* It's a surface; our work here is done... */ |
69474 | 69475 | return 1; |
|
0 commit comments