|
1 | 1 | /* Automatically generated by |
2 | | - CCodeGeneratorGlobalStructure VMMaker.oscog-eem.3690 uuid: b8fa6d9a-c8b4-4de4-9ecb-3bbc0d42fc4c |
| 2 | + CCodeGeneratorGlobalStructure VMMaker.oscog-eem.3692 uuid: dfc1faff-a80e-4cb8-aef8-830c0c0d50e5 |
3 | 3 | (Cog-eem.504, Compiler-eem.526) |
4 | 4 | from |
5 | | - CoInterpreter VMMaker.oscog-eem.3690 uuid: b8fa6d9a-c8b4-4de4-9ecb-3bbc0d42fc4c |
| 5 | + CoInterpreter VMMaker.oscog-eem.3692 uuid: dfc1faff-a80e-4cb8-aef8-830c0c0d50e5 |
6 | 6 | */ |
7 | | -static char __buildInfo[] = "CoInterpreter VMMaker.oscog-eem.3690 uuid: b8fa6d9a-c8b4-4de4-9ecb-3bbc0d42fc4c " __DATE__ ; |
| 7 | +static char __buildInfo[] = "CoInterpreter VMMaker.oscog-eem.3692 uuid: dfc1faff-a80e-4cb8-aef8-830c0c0d50e5 " __DATE__ ; |
8 | 8 | char *__interpBuildInfo = __buildInfo; |
9 | 9 |
|
10 | 10 |
|
@@ -1234,7 +1234,7 @@ extern sqInt numBytesOf(sqInt objOop); |
1234 | 1234 | static NoDbgRegParms usqInt numPointerSlotsOf(sqInt objOop); |
1235 | 1235 | static NoDbgRegParms sqInt numSlotsForBytes(sqInt numBytes); |
1236 | 1236 | static NoDbgRegParms usqInt numSlotsOfAny(sqInt objOop); |
1237 | | -static NoDbgRegParms sqInt numSlotsOfIndexablePointerObj(sqInt objOop); |
| 1237 | +static NoDbgRegParms usqInt numSlotsOfIndexablePointerObj(sqInt objOop); |
1238 | 1238 | extern usqInt numSlotsOf(sqInt objOop); |
1239 | 1239 | static NoDbgRegParms sqInt numStrongSlotsOfInephemeral(sqInt objOop); |
1240 | 1240 | static NoDbgRegParms sqInt numStrongSlotsOfWeakling(sqInt objOop); |
@@ -2692,7 +2692,7 @@ sqInt debugCallbackReturns; |
2692 | 2692 | sqInt suppressHeartbeatFlag; |
2693 | 2693 | sqInt cannotDeferDisplayUpdates; |
2694 | 2694 | sqInt checkedPluginName; |
2695 | | -const char *interpreterVersion = "Open Smalltalk Cog[Spur] VM [CoInterpreterPrimitives VMMaker.oscog-eem.3690]"; |
| 2695 | +const char *interpreterVersion = "Open Smalltalk Cog[Spur] VM [CoInterpreterPrimitives VMMaker.oscog-eem.3692]"; |
2696 | 2696 | const char * leakCheckFlagsMeanings[] = { |
2697 | 2697 | "1: check full GC", "2: check new space GC", "4: check incremental GC", "8: check become", |
2698 | 2698 | "16: check image segment", "32: check free space", "64: check shorten", "128: check prim call", |
@@ -56399,9 +56399,9 @@ allWeakSurvivorsOnWeakList(void) |
56399 | 56399 | /* begin nextCorpseOrNil: */ |
56400 | 56400 | assert(isYoung(corpse)); |
56401 | 56401 | listOffset = ((((usqInt)(((long32At((void *)(corpse + 4))) & (identityHashHalfWordMask()))) << (formatFieldWidthShift())))) + ((byteAt((void *)(corpse + (formatFieldByteOffset())))) & (formatMask())); |
56402 | | - corpse = ((sqInt) ((listOffset |
56403 | | - ? ((((usqInt)((listOffset - 1)) << 3 /* shiftForAllocationUnit */))) + GIV(newSpaceStart) |
56404 | | - : 0))); |
| 56402 | + corpse = (listOffset |
| 56403 | + ? ((((usqInt)((listOffset - 1)) << 3 /* shiftForAllocationUnit */))) + GIV(newSpaceStart) |
| 56404 | + : 0); |
56405 | 56405 | } |
56406 | 56406 | return 0; |
56407 | 56407 | return 0; |
@@ -57239,9 +57239,9 @@ processEphemerons(void) |
57239 | 57239 | /* begin nextCorpseOrNil: */ |
57240 | 57240 | assert(isYoung(ephemeronCorpse)); |
57241 | 57241 | listOffset = ((((usqInt)(((long32At((void *)(ephemeronCorpse + 4))) & (identityHashHalfWordMask()))) << (formatFieldWidthShift())))) + ((byteAt((void *)(ephemeronCorpse + (formatFieldByteOffset())))) & (formatMask())); |
57242 | | - ephemeronCorpse = ((sqInt) ((listOffset |
57243 | | - ? ((((usqInt)((listOffset - 1)) << 3 /* shiftForAllocationUnit */))) + GIV(newSpaceStart) |
57244 | | - : 0))); |
| 57242 | + ephemeronCorpse = (listOffset |
| 57243 | + ? ((((usqInt)((listOffset - 1)) << 3 /* shiftForAllocationUnit */))) + GIV(newSpaceStart) |
| 57244 | + : 0); |
57245 | 57245 | } |
57246 | 57246 | /* end fireEphemeronsOnEphemeronList */ |
57247 | 57247 | l1:; |
@@ -57314,9 +57314,9 @@ processWeaklings(void) |
57314 | 57314 | /* begin nextCorpseOrNil: */ |
57315 | 57315 | assert(isYoung(weakCorpse)); |
57316 | 57316 | listOffset = ((((usqInt)(((long32At((void *)(weakCorpse + 4))) & (identityHashHalfWordMask()))) << (formatFieldWidthShift())))) + ((byteAt((void *)(weakCorpse + (formatFieldByteOffset())))) & (formatMask())); |
57317 | | - weakCorpse = ((sqInt) ((listOffset |
57318 | | - ? ((((usqInt)((listOffset - 1)) << 3 /* shiftForAllocationUnit */))) + GIV(newSpaceStart) |
57319 | | - : 0))); |
| 57317 | + weakCorpse = (listOffset |
| 57318 | + ? ((((usqInt)((listOffset - 1)) << 3 /* shiftForAllocationUnit */))) + GIV(newSpaceStart) |
| 57319 | + : 0); |
57320 | 57320 | } |
57321 | 57321 | GIV(weakList) = null; |
57322 | 57322 | } |
@@ -69579,7 +69579,7 @@ numSlotsOfAny(sqInt objOop) |
69579 | 69579 | */ |
69580 | 69580 |
|
69581 | 69581 | /* SpurMemoryManager>>#numSlotsOfIndexablePointerObj: */ |
69582 | | -static NoDbgRegParms sqInt |
| 69582 | +static NoDbgRegParms usqInt |
69583 | 69583 | numSlotsOfIndexablePointerObj(sqInt objOop) |
69584 | 69584 | { |
69585 | 69585 | usqInt numSlots; |
@@ -75203,7 +75203,9 @@ validStorePointerUncheckedArgs(sqInt fieldIndex, sqInt objOop, sqInt valuePointe |
75203 | 75203 | } |
75204 | 75204 |
|
75205 | 75205 |
|
75206 | | -/* 1 = big, 0 = little */ |
| 75206 | +/* 1/true = big, 0/false = little. |
| 75207 | + Answer false for little endian, true for big endian (should of course be |
| 75208 | + vmIsBigEndian; sigh) */ |
75207 | 75209 |
|
75208 | 75210 | /* SpurMemoryManager>>#vmEndianness */ |
75209 | 75211 | sqInt |
@@ -80412,7 +80414,7 @@ ensureImageFormatIsUpToDate(sqInt swapBytes) |
80412 | 80414 | orginal order, and perform any other format conversions. */ |
80413 | 80415 |
|
80414 | 80416 | /* begin updateObjectsPostByteSwap */ |
80415 | | - swapFloatWords = VMBIGENDIAN != (((imageHeaderFlags & 2) != 0)); |
| 80417 | + swapFloatWords = VMBIGENDIAN != ((!(imageHeaderFlags & 2))); |
80416 | 80418 | assert(ClassFloatCompactIndex != 0); |
80417 | 80419 |
|
80418 | 80420 | /* begin allObjectsDo: */ |
@@ -80510,7 +80512,7 @@ ensureImageFormatIsUpToDate(sqInt swapBytes) |
80510 | 80512 | } |
80511 | 80513 | else { |
80512 | 80514 | /* begin convertFloatsToPlatformOrder */ |
80513 | | - if (VMBIGENDIAN == (((imageHeaderFlags & 2) != 0))) { |
| 80515 | + if (VMBIGENDIAN == ((!(imageHeaderFlags & 2)))) { |
80514 | 80516 | goto l3; |
80515 | 80517 | } |
80516 | 80518 | assert(ClassFloatCompactIndex != 0); |
|
0 commit comments