Skip to content

Commit 7308cca

Browse files
committed
CogVM source as per VMMaker.oscog-eem.2880
linux doesn't pick up sys/types.h in core vm so use usqIntptr_t not uintptr_t.
1 parent 9d27ce4 commit 7308cca

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

85 files changed

+692
-692
lines changed

nsspur64src/vm/cogit.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/* Automatically generated by
2-
CCodeGenerator VMMaker.oscog-eem.2879 uuid: d024a598-2be9-4f62-a1fa-dd832d57dfd0
2+
CCodeGenerator VMMaker.oscog-eem.2880 uuid: 6baaab83-7f09-434a-9db1-affff34cc15a
33
*/
44

55

nsspur64src/vm/cogitARMv8.c

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
/* Automatically generated by
2-
CCodeGenerator VMMaker.oscog-eem.2879 uuid: d024a598-2be9-4f62-a1fa-dd832d57dfd0
2+
CCodeGenerator VMMaker.oscog-eem.2880 uuid: 6baaab83-7f09-434a-9db1-affff34cc15a
33
from
4-
StackToRegisterMappingCogit VMMaker.oscog-eem.2879 uuid: d024a598-2be9-4f62-a1fa-dd832d57dfd0
5-
CogARMv8Compiler ClosedVMMaker-eem.109 uuid: 546907d1-5fff-4bb3-819c-0a9a5e11210e
4+
StackToRegisterMappingCogit VMMaker.oscog-eem.2880 uuid: 6baaab83-7f09-434a-9db1-affff34cc15a
5+
CogARMv8Compiler * ClosedVMMaker-eem.109 uuid: 546907d1-5fff-4bb3-819c-0a9a5e11210e
66
*/
7-
static char __buildInfo[] = "StackToRegisterMappingCogit VMMaker.oscog-eem.2879 uuid: d024a598-2be9-4f62-a1fa-dd832d57dfd0\n\
8-
CogARMv8Compiler ClosedVMMaker-eem.109 uuid: 546907d1-5fff-4bb3-819c-0a9a5e11210e " __DATE__ ;
7+
static char __buildInfo[] = "StackToRegisterMappingCogit VMMaker.oscog-eem.2880 uuid: 6baaab83-7f09-434a-9db1-affff34cc15a\n\
8+
CogARMv8Compiler * ClosedVMMaker-eem.109 uuid: 546907d1-5fff-4bb3-819c-0a9a5e11210e " __DATE__ ;
99
char *__cogitBuildInfo = __buildInfo;
1010

1111

@@ -1987,6 +1987,7 @@ static sqInt methodOrBlockNumArgs;
19871987
static sqInt methodOrBlockNumTemps;
19881988
static usqInt methodZoneBase;
19891989
static usqIntptr_t minValidCallAddress;
1990+
static usqIntptr_t mrsCtrEl0;
19901991
static usqInt mzFreeStart;
19911992
static sqInt nextLiteralIndex;
19921993
static AbstractInstruction * noCheckEntry;
@@ -2629,7 +2630,6 @@ static sqInt codeToDataDelta;
26292630
# define codeToDataDelta 0
26302631
#endif
26312632
static AbstractInstruction * const methodLabel = &aMethodLabel;
2632-
static uintptr_t mrsCtrEl0;
26332633
static void (*postCompileHook)(CogMethod *);
26342634
sqInt blockNoContextSwitchOffset;
26352635
sqInt breakPC;
@@ -4201,7 +4201,7 @@ static AbstractInstruction * NoDbgRegParms
42014201
detectFeatures(AbstractInstruction * self_in_detectFeatures)
42024202
{
42034203
sqInt fixupSize;
4204-
uintptr_t (*getMrsCtrEl0)(void);
4204+
usqIntptr_t (*getMrsCtrEl0)(void);
42054205
sqInt opcodeSize;
42064206
usqInt startAddress;
42074207

@@ -4217,7 +4217,7 @@ detectFeatures(AbstractInstruction * self_in_detectFeatures)
42174217
labelCounter = 0;
42184218

42194219
/* Return the value of CTR_EL0; that's the control register that defines the vital statistics of the processor's caches. */
4220-
getMrsCtrEl0 = ((uintptr_t (*)(void)) startAddress);
4220+
getMrsCtrEl0 = ((usqIntptr_t (*)(void)) startAddress);
42214221
genoperand(MRS_CTR_EL0, ABIResultReg);
42224222
genoperand(RetN, 0);
42234223
outputInstructionsForGeneratedRuntimeAt(startAddress);
@@ -12882,7 +12882,7 @@ initializeCodeZoneFromupTo(sqInt startAddress, sqInt endAddress)
1288212882
l3: /* end generateLowLevelTryLock: */;
1288312883
outputInstructionsForGeneratedRuntimeAt(startAddress2);
1288412884
recordGeneratedRunTimeaddress("ceTryLockVMOwner", startAddress2);
12885-
ceTryLockVMOwner = ((uintptr_t (*)(uintptr_t)) startAddress2);
12885+
ceTryLockVMOwner = ((usqIntptr_t (*)(usqIntptr_t)) startAddress2);
1288612886
# endif /* COGMTVM */
1288712887
genGetLeafCallStackPointers();
1288812888
generateStackPointerCapture();

nsspur64src/vm/cogitX64SysV.c

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
/* Automatically generated by
2-
CCodeGenerator VMMaker.oscog-eem.2879 uuid: d024a598-2be9-4f62-a1fa-dd832d57dfd0
2+
CCodeGenerator VMMaker.oscog-eem.2880 uuid: 6baaab83-7f09-434a-9db1-affff34cc15a
33
from
4-
StackToRegisterMappingCogit VMMaker.oscog-eem.2879 uuid: d024a598-2be9-4f62-a1fa-dd832d57dfd0
4+
StackToRegisterMappingCogit VMMaker.oscog-eem.2880 uuid: 6baaab83-7f09-434a-9db1-affff34cc15a
55
*/
6-
static char __buildInfo[] = "StackToRegisterMappingCogit VMMaker.oscog-eem.2879 uuid: d024a598-2be9-4f62-a1fa-dd832d57dfd0 " __DATE__ ;
6+
static char __buildInfo[] = "StackToRegisterMappingCogit VMMaker.oscog-eem.2880 uuid: 6baaab83-7f09-434a-9db1-affff34cc15a " __DATE__ ;
77
char *__cogitBuildInfo = __buildInfo;
88

99

@@ -1366,6 +1366,7 @@ static sqInt cPICCaseSize;
13661366
static sqInt cPICEndOfCodeOffset;
13671367
static sqInt cPICEndSize;
13681368
static CogMethod * cPICPrototype;
1369+
static usqIntptr_t cpuidWord1;
13691370
static sqInt currentCallCleanUpSize;
13701371
static sqInt deadCode;
13711372
static sqInt debugBytecodePointers;
@@ -2563,7 +2564,6 @@ static sqInt codeToDataDelta;
25632564
#else
25642565
# define codeToDataDelta 0
25652566
#endif
2566-
static uintptr_t cpuidWord1;
25672567
static AbstractInstruction * const methodLabel = &aMethodLabel;
25682568
static void (*postCompileHook)(CogMethod *);
25692569
sqInt blockNoContextSwitchOffset;
@@ -8596,7 +8596,7 @@ initializeCodeZoneFromupTo(sqInt startAddress, sqInt endAddress)
85968596
l6: /* end generateLowLevelTryLock: */;
85978597
outputInstructionsForGeneratedRuntimeAt(startAddress2);
85988598
recordGeneratedRunTimeaddress("ceTryLockVMOwner", startAddress2);
8599-
ceTryLockVMOwner = ((uintptr_t (*)(uintptr_t)) startAddress2);
8599+
ceTryLockVMOwner = ((usqIntptr_t (*)(usqIntptr_t)) startAddress2);
86008600
# endif /* COGMTVM */
86018601
genGetLeafCallStackPointers();
86028602
generateStackPointerCapture();
@@ -21024,7 +21024,7 @@ static AbstractInstruction * NoDbgRegParms
2102421024
detectFeatures(AbstractInstruction * self_in_detectFeatures)
2102521025
{
2102621026
AbstractInstruction *anInstruction;
21027-
uintptr_t (*cpuid)(void);
21027+
usqIntptr_t (*cpuid)(void);
2102821028
sqInt fixupSize;
2102921029
sqInt opcodeSize;
2103021030
usqInt startAddress;
@@ -21039,7 +21039,7 @@ detectFeatures(AbstractInstruction * self_in_detectFeatures)
2103921039
fixups = ((void *)((((usqInt)abstractOpcodes)) + opcodeSize));
2104021040
zeroOpcodeIndexForNewOpcodes();
2104121041
labelCounter = 0;
21042-
cpuid = ((uintptr_t (*)(void)) startAddress);
21042+
cpuid = ((usqIntptr_t (*)(void)) startAddress);
2104321043
/* begin PushR: */
2104421044
genoperand(PushR, RDX);
2104521045
/* begin PushR: */

nsspur64src/vm/cogitX64WIN64.c

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
/* Automatically generated by
2-
CCodeGenerator VMMaker.oscog-eem.2879 uuid: d024a598-2be9-4f62-a1fa-dd832d57dfd0
2+
CCodeGenerator VMMaker.oscog-eem.2880 uuid: 6baaab83-7f09-434a-9db1-affff34cc15a
33
from
4-
StackToRegisterMappingCogit VMMaker.oscog-eem.2879 uuid: d024a598-2be9-4f62-a1fa-dd832d57dfd0
4+
StackToRegisterMappingCogit VMMaker.oscog-eem.2880 uuid: 6baaab83-7f09-434a-9db1-affff34cc15a
55
*/
6-
static char __buildInfo[] = "StackToRegisterMappingCogit VMMaker.oscog-eem.2879 uuid: d024a598-2be9-4f62-a1fa-dd832d57dfd0 " __DATE__ ;
6+
static char __buildInfo[] = "StackToRegisterMappingCogit VMMaker.oscog-eem.2880 uuid: 6baaab83-7f09-434a-9db1-affff34cc15a " __DATE__ ;
77
char *__cogitBuildInfo = __buildInfo;
88

99

@@ -1366,6 +1366,7 @@ static sqInt cPICCaseSize;
13661366
static sqInt cPICEndOfCodeOffset;
13671367
static sqInt cPICEndSize;
13681368
static CogMethod * cPICPrototype;
1369+
static usqIntptr_t cpuidWord1;
13691370
static sqInt currentCallCleanUpSize;
13701371
static sqInt deadCode;
13711372
static sqInt debugBytecodePointers;
@@ -2563,7 +2564,6 @@ static sqInt codeToDataDelta;
25632564
#else
25642565
# define codeToDataDelta 0
25652566
#endif
2566-
static uintptr_t cpuidWord1;
25672567
static AbstractInstruction * const methodLabel = &aMethodLabel;
25682568
static void (*postCompileHook)(CogMethod *);
25692569
sqInt blockNoContextSwitchOffset;
@@ -8614,7 +8614,7 @@ initializeCodeZoneFromupTo(sqInt startAddress, sqInt endAddress)
86148614
l6: /* end generateLowLevelTryLock: */;
86158615
outputInstructionsForGeneratedRuntimeAt(startAddress2);
86168616
recordGeneratedRunTimeaddress("ceTryLockVMOwner", startAddress2);
8617-
ceTryLockVMOwner = ((uintptr_t (*)(uintptr_t)) startAddress2);
8617+
ceTryLockVMOwner = ((usqIntptr_t (*)(usqIntptr_t)) startAddress2);
86188618
# endif /* COGMTVM */
86198619
genGetLeafCallStackPointers();
86208620
generateStackPointerCapture();
@@ -21042,7 +21042,7 @@ static AbstractInstruction * NoDbgRegParms
2104221042
detectFeatures(AbstractInstruction * self_in_detectFeatures)
2104321043
{
2104421044
AbstractInstruction *anInstruction;
21045-
uintptr_t (*cpuid)(void);
21045+
usqIntptr_t (*cpuid)(void);
2104621046
sqInt fixupSize;
2104721047
sqInt opcodeSize;
2104821048
usqInt startAddress;
@@ -21057,7 +21057,7 @@ detectFeatures(AbstractInstruction * self_in_detectFeatures)
2105721057
fixups = ((void *)((((usqInt)abstractOpcodes)) + opcodeSize));
2105821058
zeroOpcodeIndexForNewOpcodes();
2105921059
labelCounter = 0;
21060-
cpuid = ((uintptr_t (*)(void)) startAddress);
21060+
cpuid = ((usqIntptr_t (*)(void)) startAddress);
2106121061
/* begin PushR: */
2106221062
genoperand(PushR, RDX);
2106321063
/* begin PushR: */

nsspur64src/vm/cointerp.c

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
/* Automatically generated by
2-
CCodeGeneratorGlobalStructure VMMaker.oscog-eem.2876 uuid: e5dba4f0-62a2-4385-a1aa-67c8617b9fd2
2+
CCodeGeneratorGlobalStructure VMMaker.oscog-eem.2880 uuid: 6baaab83-7f09-434a-9db1-affff34cc15a
33
from
4-
CoInterpreter VMMaker.oscog-eem.2876 uuid: e5dba4f0-62a2-4385-a1aa-67c8617b9fd2
4+
CoInterpreter VMMaker.oscog-eem.2880 uuid: 6baaab83-7f09-434a-9db1-affff34cc15a
55
*/
6-
static char __buildInfo[] = "CoInterpreter VMMaker.oscog-eem.2876 uuid: e5dba4f0-62a2-4385-a1aa-67c8617b9fd2 " __DATE__ ;
6+
static char __buildInfo[] = "CoInterpreter VMMaker.oscog-eem.2880 uuid: 6baaab83-7f09-434a-9db1-affff34cc15a " __DATE__ ;
77
char *__interpBuildInfo = __buildInfo;
88

99

@@ -1268,7 +1268,7 @@ extern sqInt nonIndexablePointerFormat(void);
12681268
static sqInt noUnscannedEphemerons(void);
12691269
static sqInt NoDbgRegParms numBytesOfBytes(sqInt objOop);
12701270
extern sqInt numBytesOf(sqInt objOop);
1271-
extern sqInt numPointerSlotsOf(sqInt objOop);
1271+
extern usqInt numPointerSlotsOf(sqInt objOop);
12721272
static usqInt NoDbgRegParms numSlotsOfAny(sqInt objOop);
12731273
extern usqInt numSlotsOf(sqInt objOop);
12741274
static sqInt NoDbgRegParms numStrongSlotsOfInephemeral(sqInt objOop);
@@ -2628,7 +2628,7 @@ sqInt debugCallbackInvokes;
26282628
sqInt debugCallbackReturns;
26292629
sqInt ffiExceptionResponse;
26302630
sqInt checkedPluginName;
2631-
const char *interpreterVersion = "Newspeak Virtual Machine [ Open Smalltalk, Spur] CoInterpreterPrimitives_VMMaker.oscog-eem.2876";
2631+
const char *interpreterVersion = "Newspeak Virtual Machine [ Open Smalltalk, Spur] CoInterpreterPrimitives_VMMaker.oscog-eem.2880";
26322632
sqInt minBackwardJumpCountForCompile = MinBackwardJumpCountForCompile /* 40 */;
26332633
int displayWidth;
26342634
int displayDepth;
@@ -41491,7 +41491,7 @@ followForwardedObjectFieldstoDepth(sqInt objOop, sqInt depth)
4149141491
sqInt header1;
4149241492
sqInt i;
4149341493
sqInt numLiterals;
41494-
sqInt numSlots;
41494+
usqInt numSlots;
4149541495
usqInt numSlots1;
4149641496
sqInt oop;
4149741497
sqInt referent;
@@ -49113,7 +49113,7 @@ copyObjtoAddrstopAtsavedFirstFieldsindex(sqInt objOop, sqInt segAddr, sqInt endS
4911349113
sqInt iLimiT;
4911449114
sqInt methodHeader;
4911549115
sqInt numLiterals;
49116-
sqInt numMediatedSlots;
49116+
usqInt numMediatedSlots;
4911749117
usqInt numSlots;
4911849118
usqInt numSlots1;
4911949119
sqInt oop;
@@ -55369,7 +55369,7 @@ numBytesOf(sqInt objOop)
5536955369
Works with CompiledMethods, as well as ordinary objects. */
5537055370

5537155371
/* SpurMemoryManager>>#numPointerSlotsOf: */
55372-
sqInt
55372+
usqInt
5537355373
numPointerSlotsOf(sqInt objOop)
5537455374
{ DECL_MAYBE_SQ_GLOBAL_STRUCT
5537555375
sqInt contextSize;
@@ -58364,7 +58364,7 @@ printReferencesTo(sqInt anOop)
5836458364
assert((ReceiverIndex + ((sp >> 3))) < (lengthOf(objOop1)));
5836558365
contextSize = (sp >> 3);
5836658366
l9: /* end fetchStackPointerOf: */;
58367-
i = CtxtTempFrameStart + contextSize;
58367+
i = ((usqInt) (CtxtTempFrameStart + contextSize));
5836858368
goto l10;
5836958369
}
5837058370
/* begin numSlotsOf: */
@@ -58397,7 +58397,7 @@ printReferencesTo(sqInt anOop)
5839758397
/* begin literalCountOfMethodHeader: */
5839858398
assert((((header) & 7) == 1));
5839958399
numLiterals = ((header >> 3)) & AlternateHeaderNumLiteralsMask;
58400-
i = numLiterals + LiteralStart;
58400+
i = ((usqInt) (numLiterals + LiteralStart));
5840158401
l10: /* end numPointerSlotsOf: */;
5840258402
while (((i -= 1)) >= 0) {
5840358403
if (anOop == (longAt((objOop1 + BaseHeaderSize) + (((sqInt)((usqInt)(i) << (shiftForWord()))))))) {
@@ -61545,10 +61545,10 @@ updatePointers(void)
6154561545
sqInt numLiterals1;
6154661546
sqInt numLiterals2;
6154761547
sqInt numLiterals3;
61548-
sqInt numPointerSlots;
61549-
sqInt numPointerSlots1;
61550-
sqInt numPointerSlots2;
61551-
sqInt numPointerSlots3;
61548+
usqInt numPointerSlots;
61549+
usqInt numPointerSlots1;
61550+
usqInt numPointerSlots2;
61551+
usqInt numPointerSlots3;
6155261552
usqInt numSlots;
6155361553
usqInt numSlots1;
6155461554
usqInt numSlots11;
@@ -62704,7 +62704,7 @@ prepareForSnapshot(void)
6270462704
sqInt limit;
6270562705
sqInt newEndOfMemory;
6270662706
sqInt next;
62707-
usqInt node;
62707+
sqInt node;
6270862708
SpurSegmentInfo *seg;
6270962709
sqInt smallChild;
6271062710
sqInt treeNode;

nsspur64src/vm/cointerp.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/* Automatically generated by
2-
CCodeGeneratorGlobalStructure VMMaker.oscog-eem.2876 uuid: e5dba4f0-62a2-4385-a1aa-67c8617b9fd2
2+
CCodeGeneratorGlobalStructure VMMaker.oscog-eem.2880 uuid: 6baaab83-7f09-434a-9db1-affff34cc15a
33
*/
44

55

@@ -255,7 +255,7 @@ extern sqInt minSlotsForShortening(void);
255255
extern sqInt nilObject(void);
256256
extern sqInt nonIndexablePointerFormat(void);
257257
extern sqInt numBytesOf(sqInt objOop);
258-
extern sqInt numPointerSlotsOf(sqInt objOop);
258+
extern usqInt numPointerSlotsOf(sqInt objOop);
259259
extern usqInt numSlotsOf(sqInt objOop);
260260
extern sqInt numStrongSlotsOfWeakling(sqInt objOop);
261261
extern sqInt objectAfter(sqInt objOop);

nsspur64src/vm/gcc3x-cointerp.c

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,11 @@
22

33

44
/* Automatically generated by
5-
CCodeGeneratorGlobalStructure VMMaker.oscog-eem.2876 uuid: e5dba4f0-62a2-4385-a1aa-67c8617b9fd2
5+
CCodeGeneratorGlobalStructure VMMaker.oscog-eem.2880 uuid: 6baaab83-7f09-434a-9db1-affff34cc15a
66
from
7-
CoInterpreter VMMaker.oscog-eem.2876 uuid: e5dba4f0-62a2-4385-a1aa-67c8617b9fd2
7+
CoInterpreter VMMaker.oscog-eem.2880 uuid: 6baaab83-7f09-434a-9db1-affff34cc15a
88
*/
9-
static char __buildInfo[] = "CoInterpreter VMMaker.oscog-eem.2876 uuid: e5dba4f0-62a2-4385-a1aa-67c8617b9fd2 " __DATE__ ;
9+
static char __buildInfo[] = "CoInterpreter VMMaker.oscog-eem.2880 uuid: 6baaab83-7f09-434a-9db1-affff34cc15a " __DATE__ ;
1010
char *__interpBuildInfo = __buildInfo;
1111

1212

@@ -1271,7 +1271,7 @@ extern sqInt nonIndexablePointerFormat(void);
12711271
static sqInt noUnscannedEphemerons(void);
12721272
static sqInt NoDbgRegParms numBytesOfBytes(sqInt objOop);
12731273
extern sqInt numBytesOf(sqInt objOop);
1274-
extern sqInt numPointerSlotsOf(sqInt objOop);
1274+
extern usqInt numPointerSlotsOf(sqInt objOop);
12751275
static usqInt NoDbgRegParms numSlotsOfAny(sqInt objOop);
12761276
extern usqInt numSlotsOf(sqInt objOop);
12771277
static sqInt NoDbgRegParms numStrongSlotsOfInephemeral(sqInt objOop);
@@ -2631,7 +2631,7 @@ sqInt debugCallbackInvokes;
26312631
sqInt debugCallbackReturns;
26322632
sqInt ffiExceptionResponse;
26332633
sqInt checkedPluginName;
2634-
const char *interpreterVersion = "Newspeak Virtual Machine [ Open Smalltalk, Spur] CoInterpreterPrimitives_VMMaker.oscog-eem.2876";
2634+
const char *interpreterVersion = "Newspeak Virtual Machine [ Open Smalltalk, Spur] CoInterpreterPrimitives_VMMaker.oscog-eem.2880";
26352635
sqInt minBackwardJumpCountForCompile = MinBackwardJumpCountForCompile /* 40 */;
26362636
int displayWidth;
26372637
int displayDepth;
@@ -41500,7 +41500,7 @@ followForwardedObjectFieldstoDepth(sqInt objOop, sqInt depth)
4150041500
sqInt header1;
4150141501
sqInt i;
4150241502
sqInt numLiterals;
41503-
sqInt numSlots;
41503+
usqInt numSlots;
4150441504
usqInt numSlots1;
4150541505
sqInt oop;
4150641506
sqInt referent;
@@ -49122,7 +49122,7 @@ copyObjtoAddrstopAtsavedFirstFieldsindex(sqInt objOop, sqInt segAddr, sqInt endS
4912249122
sqInt iLimiT;
4912349123
sqInt methodHeader;
4912449124
sqInt numLiterals;
49125-
sqInt numMediatedSlots;
49125+
usqInt numMediatedSlots;
4912649126
usqInt numSlots;
4912749127
usqInt numSlots1;
4912849128
sqInt oop;
@@ -55378,7 +55378,7 @@ numBytesOf(sqInt objOop)
5537855378
Works with CompiledMethods, as well as ordinary objects. */
5537955379

5538055380
/* SpurMemoryManager>>#numPointerSlotsOf: */
55381-
sqInt
55381+
usqInt
5538255382
numPointerSlotsOf(sqInt objOop)
5538355383
{ DECL_MAYBE_SQ_GLOBAL_STRUCT
5538455384
sqInt contextSize;
@@ -58373,7 +58373,7 @@ printReferencesTo(sqInt anOop)
5837358373
assert((ReceiverIndex + ((sp >> 3))) < (lengthOf(objOop1)));
5837458374
contextSize = (sp >> 3);
5837558375
l9: /* end fetchStackPointerOf: */;
58376-
i = CtxtTempFrameStart + contextSize;
58376+
i = ((usqInt) (CtxtTempFrameStart + contextSize));
5837758377
goto l10;
5837858378
}
5837958379
/* begin numSlotsOf: */
@@ -58406,7 +58406,7 @@ printReferencesTo(sqInt anOop)
5840658406
/* begin literalCountOfMethodHeader: */
5840758407
assert((((header) & 7) == 1));
5840858408
numLiterals = ((header >> 3)) & AlternateHeaderNumLiteralsMask;
58409-
i = numLiterals + LiteralStart;
58409+
i = ((usqInt) (numLiterals + LiteralStart));
5841058410
l10: /* end numPointerSlotsOf: */;
5841158411
while (((i -= 1)) >= 0) {
5841258412
if (anOop == (longAt((objOop1 + BaseHeaderSize) + (((sqInt)((usqInt)(i) << (shiftForWord()))))))) {
@@ -61554,10 +61554,10 @@ updatePointers(void)
6155461554
sqInt numLiterals1;
6155561555
sqInt numLiterals2;
6155661556
sqInt numLiterals3;
61557-
sqInt numPointerSlots;
61558-
sqInt numPointerSlots1;
61559-
sqInt numPointerSlots2;
61560-
sqInt numPointerSlots3;
61557+
usqInt numPointerSlots;
61558+
usqInt numPointerSlots1;
61559+
usqInt numPointerSlots2;
61560+
usqInt numPointerSlots3;
6156161561
usqInt numSlots;
6156261562
usqInt numSlots1;
6156361563
usqInt numSlots11;
@@ -62713,7 +62713,7 @@ prepareForSnapshot(void)
6271362713
sqInt limit;
6271462714
sqInt newEndOfMemory;
6271562715
sqInt next;
62716-
usqInt node;
62716+
sqInt node;
6271762717
SpurSegmentInfo *seg;
6271862718
sqInt smallChild;
6271962719
sqInt treeNode;

0 commit comments

Comments
 (0)