Skip to content

Commit

Permalink
Fix issue 436 again
Browse files Browse the repository at this point in the history
Perform C integer arithmetic with the right int type (64 bits signed sqLong rather than 32bits unsigned usqInt).
  • Loading branch information
nicolas-cellier-aka-nice committed Oct 28, 2019
1 parent 751f7bc commit a2f6e9e
Show file tree
Hide file tree
Showing 9 changed files with 33 additions and 33 deletions.
10 changes: 5 additions & 5 deletions src/vm/cointerp.c
@@ -1,9 +1,9 @@
/* Automatically generated by
CCodeGeneratorGlobalStructure VMMaker.oscog-nice.2573 uuid: 263ac95f-c419-4deb-93e5-52ce2f4f9c6d
CCodeGeneratorGlobalStructure VMMaker.oscog-nice.2574 uuid: 97ff56d4-01fb-422a-8b6c-edaa2d57bbde
from
CoInterpreter VMMaker.oscog-nice.2573 uuid: 263ac95f-c419-4deb-93e5-52ce2f4f9c6d
CoInterpreter VMMaker.oscog-nice.2574 uuid: 97ff56d4-01fb-422a-8b6c-edaa2d57bbde
*/
static char __buildInfo[] = "CoInterpreter VMMaker.oscog-nice.2573 uuid: 263ac95f-c419-4deb-93e5-52ce2f4f9c6d " __DATE__ ;
static char __buildInfo[] = "CoInterpreter VMMaker.oscog-nice.2574 uuid: 97ff56d4-01fb-422a-8b6c-edaa2d57bbde " __DATE__ ;
char *__interpBuildInfo = __buildInfo;


Expand Down Expand Up @@ -2217,7 +2217,7 @@ static void (*primitiveTable[MaxPrimitiveIndex + 2 /* 578 */])(void) = {
0 };
sqInt checkedPluginName;
char expensiveAsserts = 0;
const char *interpreterVersion = "Croquet Closure Cog[SqueakV3] VM [CoInterpreterPrimitives VMMaker.oscog-nice.2573]";
const char *interpreterVersion = "Croquet Closure Cog[SqueakV3] VM [CoInterpreterPrimitives VMMaker.oscog-nice.2574]";
sqInt minBackwardJumpCountForCompile = MinBackwardJumpCountForCompile /* 40 */;
volatile int sendTrace;

Expand Down Expand Up @@ -54294,7 +54294,7 @@ primitiveSignalAtMilliseconds(void)
sqInt ccIndex;
sqLong deltaMsecs;
sqLong limit;
usqInt msecs;
sqLong msecs;
sqInt msecsObj;
sqInt oop;
sqInt sema;
Expand Down
2 changes: 1 addition & 1 deletion src/vm/cointerp.h
@@ -1,5 +1,5 @@
/* Automatically generated by
CCodeGeneratorGlobalStructure VMMaker.oscog-nice.2573 uuid: 263ac95f-c419-4deb-93e5-52ce2f4f9c6d
CCodeGeneratorGlobalStructure VMMaker.oscog-nice.2574 uuid: 97ff56d4-01fb-422a-8b6c-edaa2d57bbde
*/


Expand Down
10 changes: 5 additions & 5 deletions src/vm/cointerpmt.c
@@ -1,9 +1,9 @@
/* Automatically generated by
CCodeGeneratorGlobalStructure VMMaker.oscog-nice.2573 uuid: 263ac95f-c419-4deb-93e5-52ce2f4f9c6d
CCodeGeneratorGlobalStructure VMMaker.oscog-nice.2574 uuid: 97ff56d4-01fb-422a-8b6c-edaa2d57bbde
from
CoInterpreterMT VMMaker.oscog-nice.2573 uuid: 263ac95f-c419-4deb-93e5-52ce2f4f9c6d
CoInterpreterMT VMMaker.oscog-nice.2574 uuid: 97ff56d4-01fb-422a-8b6c-edaa2d57bbde
*/
static char __buildInfo[] = "CoInterpreterMT VMMaker.oscog-nice.2573 uuid: 263ac95f-c419-4deb-93e5-52ce2f4f9c6d " __DATE__ ;
static char __buildInfo[] = "CoInterpreterMT VMMaker.oscog-nice.2574 uuid: 97ff56d4-01fb-422a-8b6c-edaa2d57bbde " __DATE__ ;
char *__interpBuildInfo = __buildInfo;


Expand Down Expand Up @@ -2311,7 +2311,7 @@ static void (*primitiveTable[MaxPrimitiveIndex + 2 /* 578 */])(void) = {
0 };
sqInt checkedPluginName;
char expensiveAsserts = 0;
const char *interpreterVersion = "Croquet Closure Cog MT VM [CoInterpreterMT VMMaker.oscog-nice.2573]";
const char *interpreterVersion = "Croquet Closure Cog MT VM [CoInterpreterMT VMMaker.oscog-nice.2574]";
sqInt minBackwardJumpCountForCompile = MinBackwardJumpCountForCompile /* 40 */;
volatile int sendTrace;

Expand Down Expand Up @@ -56251,7 +56251,7 @@ primitiveSignalAtMilliseconds(void)
sqInt ccIndex;
sqLong deltaMsecs;
sqLong limit;
usqInt msecs;
sqLong msecs;
sqInt msecsObj;
sqInt oop;
sqInt sema;
Expand Down
2 changes: 1 addition & 1 deletion src/vm/cointerpmt.h
@@ -1,5 +1,5 @@
/* Automatically generated by
CCodeGeneratorGlobalStructure VMMaker.oscog-nice.2573 uuid: 263ac95f-c419-4deb-93e5-52ce2f4f9c6d
CCodeGeneratorGlobalStructure VMMaker.oscog-nice.2574 uuid: 97ff56d4-01fb-422a-8b6c-edaa2d57bbde
*/


Expand Down
10 changes: 5 additions & 5 deletions src/vm/gcc3x-cointerp.c
Expand Up @@ -2,11 +2,11 @@


/* Automatically generated by
CCodeGeneratorGlobalStructure VMMaker.oscog-nice.2573 uuid: 263ac95f-c419-4deb-93e5-52ce2f4f9c6d
CCodeGeneratorGlobalStructure VMMaker.oscog-nice.2574 uuid: 97ff56d4-01fb-422a-8b6c-edaa2d57bbde
from
CoInterpreter VMMaker.oscog-nice.2573 uuid: 263ac95f-c419-4deb-93e5-52ce2f4f9c6d
CoInterpreter VMMaker.oscog-nice.2574 uuid: 97ff56d4-01fb-422a-8b6c-edaa2d57bbde
*/
static char __buildInfo[] = "CoInterpreter VMMaker.oscog-nice.2573 uuid: 263ac95f-c419-4deb-93e5-52ce2f4f9c6d " __DATE__ ;
static char __buildInfo[] = "CoInterpreter VMMaker.oscog-nice.2574 uuid: 97ff56d4-01fb-422a-8b6c-edaa2d57bbde " __DATE__ ;
char *__interpBuildInfo = __buildInfo;


Expand Down Expand Up @@ -2220,7 +2220,7 @@ static void (*primitiveTable[MaxPrimitiveIndex + 2 /* 578 */])(void) = {
0 };
sqInt checkedPluginName;
char expensiveAsserts = 0;
const char *interpreterVersion = "Croquet Closure Cog[SqueakV3] VM [CoInterpreterPrimitives VMMaker.oscog-nice.2573]";
const char *interpreterVersion = "Croquet Closure Cog[SqueakV3] VM [CoInterpreterPrimitives VMMaker.oscog-nice.2574]";
sqInt minBackwardJumpCountForCompile = MinBackwardJumpCountForCompile /* 40 */;
volatile int sendTrace;

Expand Down Expand Up @@ -54303,7 +54303,7 @@ primitiveSignalAtMilliseconds(void)
sqInt ccIndex;
sqLong deltaMsecs;
sqLong limit;
usqInt msecs;
sqLong msecs;
sqInt msecsObj;
sqInt oop;
sqInt sema;
Expand Down
10 changes: 5 additions & 5 deletions src/vm/gcc3x-cointerpmt.c
Expand Up @@ -2,11 +2,11 @@


/* Automatically generated by
CCodeGeneratorGlobalStructure VMMaker.oscog-nice.2573 uuid: 263ac95f-c419-4deb-93e5-52ce2f4f9c6d
CCodeGeneratorGlobalStructure VMMaker.oscog-nice.2574 uuid: 97ff56d4-01fb-422a-8b6c-edaa2d57bbde
from
CoInterpreterMT VMMaker.oscog-nice.2573 uuid: 263ac95f-c419-4deb-93e5-52ce2f4f9c6d
CoInterpreterMT VMMaker.oscog-nice.2574 uuid: 97ff56d4-01fb-422a-8b6c-edaa2d57bbde
*/
static char __buildInfo[] = "CoInterpreterMT VMMaker.oscog-nice.2573 uuid: 263ac95f-c419-4deb-93e5-52ce2f4f9c6d " __DATE__ ;
static char __buildInfo[] = "CoInterpreterMT VMMaker.oscog-nice.2574 uuid: 97ff56d4-01fb-422a-8b6c-edaa2d57bbde " __DATE__ ;
char *__interpBuildInfo = __buildInfo;


Expand Down Expand Up @@ -2314,7 +2314,7 @@ static void (*primitiveTable[MaxPrimitiveIndex + 2 /* 578 */])(void) = {
0 };
sqInt checkedPluginName;
char expensiveAsserts = 0;
const char *interpreterVersion = "Croquet Closure Cog MT VM [CoInterpreterMT VMMaker.oscog-nice.2573]";
const char *interpreterVersion = "Croquet Closure Cog MT VM [CoInterpreterMT VMMaker.oscog-nice.2574]";
sqInt minBackwardJumpCountForCompile = MinBackwardJumpCountForCompile /* 40 */;
volatile int sendTrace;

Expand Down Expand Up @@ -56260,7 +56260,7 @@ primitiveSignalAtMilliseconds(void)
sqInt ccIndex;
sqLong deltaMsecs;
sqLong limit;
usqInt msecs;
sqLong msecs;
sqInt msecsObj;
sqInt oop;
sqInt sema;
Expand Down
10 changes: 5 additions & 5 deletions stacksrc/vm/gcc3x-interp.c
Expand Up @@ -2,11 +2,11 @@


/* Automatically generated by
CCodeGeneratorGlobalStructure VMMaker.oscog-nice.2573 uuid: 263ac95f-c419-4deb-93e5-52ce2f4f9c6d
CCodeGeneratorGlobalStructure VMMaker.oscog-nice.2574 uuid: 97ff56d4-01fb-422a-8b6c-edaa2d57bbde
from
StackInterpreter VMMaker.oscog-nice.2573 uuid: 263ac95f-c419-4deb-93e5-52ce2f4f9c6d
StackInterpreter VMMaker.oscog-nice.2574 uuid: 97ff56d4-01fb-422a-8b6c-edaa2d57bbde
*/
static char __buildInfo[] = "StackInterpreter VMMaker.oscog-nice.2573 uuid: 263ac95f-c419-4deb-93e5-52ce2f4f9c6d " __DATE__ ;
static char __buildInfo[] = "StackInterpreter VMMaker.oscog-nice.2574 uuid: 97ff56d4-01fb-422a-8b6c-edaa2d57bbde " __DATE__ ;
char *__interpBuildInfo = __buildInfo;


Expand Down Expand Up @@ -1974,7 +1974,7 @@ static void (*primitiveTable[MaxPrimitiveIndex + 2 /* 578 */])(void) = {
0 };
sqInt checkedPluginName;
char expensiveAsserts = 0;
const char *interpreterVersion = "Croquet Closure Stack VM [StackInterpreterPrimitives VMMaker.oscog-nice.2573]";
const char *interpreterVersion = "Croquet Closure Stack VM [StackInterpreterPrimitives VMMaker.oscog-nice.2574]";
volatile int sendTrace;
sqInt suppressHeartbeatFlag;

Expand Down Expand Up @@ -46333,7 +46333,7 @@ primitiveSignalAtMilliseconds(void)
sqInt ccIndex;
sqLong deltaMsecs;
sqLong limit;
usqInt msecs;
sqLong msecs;
sqInt msecsObj;
sqInt oop;
sqInt sema;
Expand Down
10 changes: 5 additions & 5 deletions stacksrc/vm/interp.c
@@ -1,9 +1,9 @@
/* Automatically generated by
CCodeGeneratorGlobalStructure VMMaker.oscog-nice.2573 uuid: 263ac95f-c419-4deb-93e5-52ce2f4f9c6d
CCodeGeneratorGlobalStructure VMMaker.oscog-nice.2574 uuid: 97ff56d4-01fb-422a-8b6c-edaa2d57bbde
from
StackInterpreter VMMaker.oscog-nice.2573 uuid: 263ac95f-c419-4deb-93e5-52ce2f4f9c6d
StackInterpreter VMMaker.oscog-nice.2574 uuid: 97ff56d4-01fb-422a-8b6c-edaa2d57bbde
*/
static char __buildInfo[] = "StackInterpreter VMMaker.oscog-nice.2573 uuid: 263ac95f-c419-4deb-93e5-52ce2f4f9c6d " __DATE__ ;
static char __buildInfo[] = "StackInterpreter VMMaker.oscog-nice.2574 uuid: 97ff56d4-01fb-422a-8b6c-edaa2d57bbde " __DATE__ ;
char *__interpBuildInfo = __buildInfo;


Expand Down Expand Up @@ -1971,7 +1971,7 @@ static void (*primitiveTable[MaxPrimitiveIndex + 2 /* 578 */])(void) = {
0 };
sqInt checkedPluginName;
char expensiveAsserts = 0;
const char *interpreterVersion = "Croquet Closure Stack VM [StackInterpreterPrimitives VMMaker.oscog-nice.2573]";
const char *interpreterVersion = "Croquet Closure Stack VM [StackInterpreterPrimitives VMMaker.oscog-nice.2574]";
volatile int sendTrace;
sqInt suppressHeartbeatFlag;

Expand Down Expand Up @@ -46324,7 +46324,7 @@ primitiveSignalAtMilliseconds(void)
sqInt ccIndex;
sqLong deltaMsecs;
sqLong limit;
usqInt msecs;
sqLong msecs;
sqInt msecsObj;
sqInt oop;
sqInt sema;
Expand Down
2 changes: 1 addition & 1 deletion stacksrc/vm/interp.h
@@ -1,5 +1,5 @@
/* Automatically generated by
CCodeGeneratorGlobalStructure VMMaker.oscog-eem.2537 uuid: 0518f049-7c3c-4dfa-8e2d-04e2cf2eee40
CCodeGeneratorGlobalStructure VMMaker.oscog-nice.2574 uuid: 97ff56d4-01fb-422a-8b6c-edaa2d57bbde
*/

#define VM_PROXY_MAJOR 1
Expand Down

0 comments on commit a2f6e9e

Please sign in to comment.