|
1 | 1 | /* Automatically generated by |
2 | | - CCodeGenerator VMMaker.oscog-eem.3652 uuid: 087801f9-2e4c-4ed7-bccb-0d0b72d7665a |
| 2 | + CCodeGenerator VMMaker.oscog-eem.3653 uuid: 3e9e73e3-c46f-4b85-9492-5e8152620749 |
3 | 3 | (Cog-eem.499, * Compiler-ct.519) |
4 | 4 | from |
5 | | - StackToRegisterMappingCogit VMMaker.oscog-eem.3652 uuid: 087801f9-2e4c-4ed7-bccb-0d0b72d7665a |
| 5 | + StackToRegisterMappingCogit VMMaker.oscog-eem.3653 uuid: 3e9e73e3-c46f-4b85-9492-5e8152620749 |
6 | 6 | */ |
7 | | -static char __buildInfo[] = "StackToRegisterMappingCogit VMMaker.oscog-eem.3652 uuid: 087801f9-2e4c-4ed7-bccb-0d0b72d7665a " __DATE__ ; |
| 7 | +static char __buildInfo[] = "StackToRegisterMappingCogit VMMaker.oscog-eem.3653 uuid: 3e9e73e3-c46f-4b85-9492-5e8152620749 " __DATE__ ; |
8 | 8 | char *__cogitBuildInfo = __buildInfo; |
9 | 9 |
|
10 | 10 |
|
@@ -501,7 +501,7 @@ static NoDbgRegParms AbstractInstruction * genSwapRRScratch(AbstractInstruction |
501 | 501 | static NoDbgRegParms int hasSSE2Instructions(AbstractInstruction *self_in_CogIA32Compiler); |
502 | 502 | static NoDbgRegParms int hasSSEInstructions(AbstractInstruction *self_in_CogIA32Compiler); |
503 | 503 | static NoDbgRegParms sqInt inlineCacheTagAt(AbstractInstruction *self_in_CogIA32Compiler, sqInt callSiteReturnAddress); |
504 | | -static NoDbgRegParms sqInt instructionSizeAt(AbstractInstruction *self_in_CogIA32Compiler, sqInt pc); |
| 504 | +static NoDbgRegParms int instructionSizeAt(AbstractInstruction *self_in_CogIA32Compiler, sqInt pc); |
505 | 505 | static NoDbgRegParms int isCallPrecedingReturnPC(AbstractInstruction *self_in_CogIA32Compiler, sqInt mcpc); |
506 | 506 | static NoDbgRegParms sqInt isJumpAt(AbstractInstruction *self_in_CogIA32Compiler, sqInt pc); |
507 | 507 | static NoDbgRegParms sqInt isPCDependent(AbstractInstruction *self_in_CogIA32Compiler); |
@@ -681,7 +681,7 @@ static NoDbgRegParms sqInt incrementUsageOfTargetIfLinkedSendmcpcignored(sqInt a |
681 | 681 | extern void initializeCodeZoneFromupTo(sqInt startAddress, sqInt endAddress); |
682 | 682 | static sqInt initialMethodUsageCount(void); |
683 | 683 | static int initialOpenPICUsageCount(void); |
684 | | -static NoDbgRegParms int intraCPICTargetinvokesMNUIn(sqInt targetMcpc, sqInt cPIC); |
| 684 | +static NoDbgRegParms int intraCPICTargetinvokesMNUIn(sqInt targetMcpc, CogMethod *cPIC); |
685 | 685 | static NoDbgRegParms sqInt inverseBranchFor(sqInt opcode); |
686 | 686 | #if VMInvestigations |
687 | 687 | static NoDbgRegParms sqInt investigationArrayForClosedPIC(CogMethod *cPIC); |
@@ -912,7 +912,7 @@ static sqInt genPrimitiveStringAtPut(void); |
912 | 912 | static NoDbgRegParms sqInt genRemoveSmallIntegerTagsInScratchReg(sqInt scratchReg); |
913 | 913 | static NoDbgRegParms sqInt genShiftAwaySmallIntegerTagsInScratchReg(sqInt scratchReg); |
914 | 914 | static NoDbgRegParms sqInt getLiteralCountOfplusOneinBytesintoscratch(sqInt methodReg, sqInt plusOne, sqInt inBytes, sqInt litCountReg, sqInt scratchReg); |
915 | | -static NoDbgRegParms sqInt inlineCacheTagForInstance(sqInt oop); |
| 915 | +static NoDbgRegParms usqInt inlineCacheTagForInstance(sqInt oop); |
916 | 916 | static NoDbgRegParms AbstractInstruction * jumpNotSmallIntegerUnsignedValueInRegister(sqInt reg); |
917 | 917 | static NoDbgRegParms sqInt markAndTraceCacheTagLiteralinatpc(sqInt literal, CogMethod *cogMethodOrNil, usqInt address); |
918 | 918 | static sqInt numSmallIntegerBits(void); |
@@ -6825,7 +6825,7 @@ inlineCacheTagAt(AbstractInstruction *self_in_CogIA32Compiler, sqInt callSiteRet |
6825 | 6825 | It only has to cope with the instructions generated in a block dispatch. */ |
6826 | 6826 |
|
6827 | 6827 | /* CogIA32Compiler>>#instructionSizeAt: */ |
6828 | | -static NoDbgRegParms sqInt |
| 6828 | +static NoDbgRegParms int |
6829 | 6829 | instructionSizeAt(AbstractInstruction *self_in_CogIA32Compiler, sqInt pc) |
6830 | 6830 | { |
6831 | 6831 | sqInt op; |
@@ -6997,7 +6997,7 @@ jumpTargetPCAt(AbstractInstruction *self_in_CogIA32Compiler, sqInt pc) |
6997 | 6997 | { |
6998 | 6998 | sqInt byte; |
6999 | 6999 | sqInt offset; |
7000 | | - sqInt size; |
| 7000 | + int size; |
7001 | 7001 |
|
7002 | 7002 | size = instructionSizeAt(self_in_CogIA32Compiler, pc); |
7003 | 7003 | if (size == 2) { |
@@ -8052,7 +8052,7 @@ callCogCodePopReceiverAndClassRegs(void) |
8052 | 8052 | static NoDbgRegParms sqInt |
8053 | 8053 | ceCPICMissreceiver(CogMethod *cPIC, sqInt receiver) |
8054 | 8054 | { |
8055 | | - sqInt cacheTag; |
| 8055 | + usqInt cacheTag; |
8056 | 8056 | int errorSelectorOrNil; |
8057 | 8057 | sqInt methodOrSelectorIndex; |
8058 | 8058 | sqInt newTargetMethodOrNil; |
@@ -8163,7 +8163,7 @@ l1:; |
8163 | 8163 | static NoDbgRegParms sqInt |
8164 | 8164 | ceSICMiss(sqInt receiver) |
8165 | 8165 | { |
8166 | | - sqInt cacheTag; |
| 8166 | + usqInt cacheTag; |
8167 | 8167 | sqInt entryPoint; |
8168 | 8168 | int errorSelectorOrNil; |
8169 | 8169 | sqInt extent; |
@@ -12856,7 +12856,7 @@ initialOpenPICUsageCount(void) |
12856 | 12856 |
|
12857 | 12857 | /* Cogit>>#intraCPICTarget:invokesMNUIn: */ |
12858 | 12858 | static NoDbgRegParms int |
12859 | | -intraCPICTargetinvokesMNUIn(sqInt targetMcpc, sqInt cPIC) |
| 12859 | +intraCPICTargetinvokesMNUIn(sqInt targetMcpc, CogMethod *cPIC) |
12860 | 12860 | { |
12861 | 12861 | assert(((targetMcpc >= (((usqInt)(cPIC + 1)))) && (targetMcpc <= ((((usqInt)cPIC)) + cmEntryOffset)))); |
12862 | 12862 | return targetMcpc == (((usqInt)(cPIC + 1))); |
@@ -13117,7 +13117,7 @@ void |
13117 | 13117 | linkSendAtintooffsetreceiver(sqInt callSiteReturnAddress, CogMethod *sendingMethod, CogMethod *targetMethod, sqInt theEntryOffset, sqInt receiver) |
13118 | 13118 | { |
13119 | 13119 | sqInt extent; |
13120 | | - sqInt inlineCacheTag; |
| 13120 | + usqInt inlineCacheTag; |
13121 | 13121 |
|
13122 | 13122 | assert((theEntryOffset == cmEntryOffset) |
13123 | 13123 | || (theEntryOffset == cmNoCheckEntryOffset)); |
@@ -21256,7 +21256,7 @@ getLiteralCountOfplusOneinBytesintoscratch(sqInt methodReg, sqInt plusOne, sqInt |
21256 | 21256 | c.f. getInlineCacheClassTagFrom:into: & inlineCacheTagForClass: */ |
21257 | 21257 |
|
21258 | 21258 | /* CogObjectRepresentationFor32BitSpur>>#inlineCacheTagForInstance: */ |
21259 | | -static NoDbgRegParms sqInt |
| 21259 | +static NoDbgRegParms usqInt |
21260 | 21260 | inlineCacheTagForInstance(sqInt oop) |
21261 | 21261 | { |
21262 | 21262 | return (isImmediate(oop) |
|
0 commit comments