11/* Automatically generated by
2- CCodeGenerator VMMaker.oscog-eem.3661 uuid: 36aba232-031c-4e89-9ec2-16e8aaea8b08
2+ CCodeGenerator VMMaker.oscog-eem.3662 uuid: 26a00cbc-315d-4ced-ae5b-650351163c37
33 (Cog-eem.502, Compiler-eem.520)
44 from
5- StackToRegisterMappingCogit VMMaker.oscog-eem.3661 uuid: 36aba232-031c-4e89-9ec2-16e8aaea8b08
5+ StackToRegisterMappingCogit VMMaker.oscog-eem.3662 uuid: 26a00cbc-315d-4ced-ae5b-650351163c37
66 */
7- static char __buildInfo[] = "StackToRegisterMappingCogit VMMaker.oscog-eem.3661 uuid: 36aba232-031c-4e89-9ec2-16e8aaea8b08 " __DATE__ ;
7+ static char __buildInfo[] = "StackToRegisterMappingCogit VMMaker.oscog-eem.3662 uuid: 26a00cbc-315d-4ced-ae5b-650351163c37 " __DATE__ ;
88char *__cogitBuildInfo = __buildInfo;
99
1010
@@ -511,7 +511,7 @@ static NoDbgRegParms sqInt callTargetFromReturnAddress(AbstractInstruction *self
511511static NoDbgRegParms AbstractInstruction * cFloatResultToRd(AbstractInstruction *self_in_CogIA32Compiler, sqInt reg);
512512static NoDbgRegParms AbstractInstruction * cFloatResultToRs(AbstractInstruction *self_in_CogIA32Compiler, sqInt reg);
513513static NoDbgRegParms sqInt cmpC32RTempByteSize(AbstractInstruction *self_in_CogIA32Compiler);
514- static NoDbgRegParms sqInt computeMaximumSize(AbstractInstruction *self_in_CogIA32Compiler);
514+ static NoDbgRegParms int computeMaximumSize(AbstractInstruction *self_in_CogIA32Compiler);
515515static NoDbgRegParms int computeShiftRRSize(AbstractInstruction *self_in_CogIA32Compiler);
516516static NoDbgRegParms sqInt concretizeFill32(AbstractInstruction *self_in_CogIA32Compiler);
517517static NoDbgRegParms sqInt concretizeMovePerfCnt64RRL(AbstractInstruction *self_in_CogIA32Compiler);
@@ -538,7 +538,7 @@ static NoDbgRegParms AbstractInstruction * genSwapRRScratch(AbstractInstruction
538538static NoDbgRegParms int hasSSE2Instructions(AbstractInstruction *self_in_CogIA32Compiler);
539539static NoDbgRegParms int hasSSEInstructions(AbstractInstruction *self_in_CogIA32Compiler);
540540static NoDbgRegParms sqInt inlineCacheTagAt(AbstractInstruction *self_in_CogIA32Compiler, sqInt callSiteReturnAddress);
541- static NoDbgRegParms sqInt instructionSizeAt(AbstractInstruction *self_in_CogIA32Compiler, sqInt pc);
541+ static NoDbgRegParms int instructionSizeAt(AbstractInstruction *self_in_CogIA32Compiler, sqInt pc);
542542static NoDbgRegParms int isCallPrecedingReturnPC(AbstractInstruction *self_in_CogIA32Compiler, sqInt mcpc);
543543static NoDbgRegParms sqInt isJumpAt(AbstractInstruction *self_in_CogIA32Compiler, sqInt pc);
544544static NoDbgRegParms sqInt isPCDependent(AbstractInstruction *self_in_CogIA32Compiler);
@@ -971,7 +971,7 @@ static sqInt genPrimitiveStringAtPut(void);
971971static NoDbgRegParms sqInt genRemoveSmallIntegerTagsInScratchReg(sqInt scratchReg);
972972static NoDbgRegParms sqInt genShiftAwaySmallIntegerTagsInScratchReg(sqInt scratchReg);
973973static NoDbgRegParms sqInt getLiteralCountOfplusOneinBytesintoscratch(sqInt methodReg, sqInt plusOne, sqInt inBytes, sqInt litCountReg, sqInt scratchReg);
974- static NoDbgRegParms usqInt inlineCacheTagForInstance(sqInt oop);
974+ static NoDbgRegParms sqInt inlineCacheTagForInstance(sqInt oop);
975975static NoDbgRegParms AbstractInstruction * jumpNotSmallIntegerUnsignedValueInRegister(sqInt reg);
976976static NoDbgRegParms sqInt markAndTraceCacheTagLiteralinatpc(sqInt literal, CogMethod *cogMethodOrNil, usqInt address);
977977static sqInt numSmallIntegerBits(void);
@@ -3332,7 +3332,7 @@ cmpC32RTempByteSize(AbstractInstruction *self_in_CogIA32Compiler)
33323332 limits which are exceeded when each case jumps around the otherwise. */
33333333
33343334 /* CogIA32Compiler>>#computeMaximumSize */
3335- static NoDbgRegParms sqInt
3335+ static NoDbgRegParms int
33363336computeMaximumSize(AbstractInstruction *self_in_CogIA32Compiler)
33373337{
33383338 switch ((self_in_CogIA32Compiler->opcode)) {
@@ -3930,7 +3930,6 @@ dispatchConcretize(AbstractInstruction *self_in_CogIA32Compiler)
39303930 sqInt regLHS;
39313931 sqInt regRHS;
39323932 int regToShift;
3933- AbstractInstruction *self_in_CogAbstractInstruction1;
39343933 sqInt shiftCount;
39353934 sqInt shiftCountReg;
39363935 sqInt src;
@@ -3947,12 +3946,10 @@ dispatchConcretize(AbstractInstruction *self_in_CogIA32Compiler)
39473946 /* begin concretizeLabel */
39483947 dependentChain = (self_in_CogIA32Compiler->dependent);
39493948 while (!(!dependentChain)) {
3950- self_in_CogAbstractInstruction1 = dependentChain;
3951-
39523949 /* begin updateLabel: */
3953- assert((((self_in_CogAbstractInstruction1 ->opcode)) == MoveCwR)
3954- || (((self_in_CogAbstractInstruction1 ->opcode)) == PushCw));
3955- ((self_in_CogAbstractInstruction1 ->operands))[0] = (((self_in_CogIA32Compiler->address)) + (((self_in_CogIA32Compiler->operands))[1]));
3950+ assert((((dependentChain ->opcode)) == MoveCwR)
3951+ || (((dependentChain ->opcode)) == PushCw));
3952+ ((dependentChain ->operands))[0] = (((self_in_CogIA32Compiler->address)) + (((self_in_CogIA32Compiler->operands))[1]));
39563953 dependentChain = (dependentChain->dependent);
39573954 }
39583955 return 0;
@@ -7015,7 +7012,7 @@ inlineCacheTagAt(AbstractInstruction *self_in_CogIA32Compiler, sqInt callSiteRet
70157012 It only has to cope with the instructions generated in a block dispatch. */
70167013
70177014 /* CogIA32Compiler>>#instructionSizeAt: */
7018- static NoDbgRegParms sqInt
7015+ static NoDbgRegParms int
70197016instructionSizeAt(AbstractInstruction *self_in_CogIA32Compiler, sqInt pc)
70207017{
70217018 sqInt op;
@@ -7187,7 +7184,7 @@ jumpTargetPCAt(AbstractInstruction *self_in_CogIA32Compiler, sqInt pc)
71877184{
71887185 sqInt byte;
71897186 sqInt offset;
7190- sqInt size;
7187+ int size;
71917188
71927189 size = instructionSizeAt(self_in_CogIA32Compiler, pc);
71937190 if (size == 2) {
@@ -8253,7 +8250,7 @@ callCogCodePopReceiverAndClassRegs(void)
82538250static NoDbgRegParms sqInt
82548251ceCPICMissreceiver(CogMethod *cPIC, sqInt receiver)
82558252{
8256- usqInt cacheTag;
8253+ sqInt cacheTag;
82578254 int errorSelectorOrNil;
82588255 sqInt methodOrSelectorIndex;
82598256 sqInt newTargetMethodOrNil;
@@ -8388,7 +8385,7 @@ ceMalloc(size_t size)
83888385static NoDbgRegParms sqInt
83898386ceSICMiss(sqInt receiver)
83908387{
8391- usqInt cacheTag;
8388+ sqInt cacheTag;
83928389 sqInt entryPoint;
83938390 int errorSelectorOrNil;
83948391 sqInt extent;
@@ -13926,7 +13923,7 @@ void
1392613923linkSendAtintooffsetreceiver(sqInt callSiteReturnAddress, CogMethod *sendingMethod, CogMethod *targetMethod, sqInt theEntryOffset, sqInt receiver)
1392713924{
1392813925 sqInt extent;
13929- usqInt inlineCacheTag;
13926+ sqInt inlineCacheTag;
1393013927
1393113928 assert((theEntryOffset == cmEntryOffset)
1393213929 || (theEntryOffset == cmNoCheckEntryOffset));
@@ -22135,7 +22132,7 @@ getLiteralCountOfplusOneinBytesintoscratch(sqInt methodReg, sqInt plusOne, sqInt
2213522132 c.f. getInlineCacheClassTagFrom:into: & inlineCacheTagForClass: */
2213622133
2213722134 /* CogObjectRepresentationFor32BitSpur>>#inlineCacheTagForInstance: */
22138- static NoDbgRegParms usqInt
22135+ static NoDbgRegParms sqInt
2213922136inlineCacheTagForInstance(sqInt oop)
2214022137{
2214122138 return (isImmediate(oop)
0 commit comments