[kaffe] CVS kaffe (robilad): Cross-compilation fix for jit
Kaffe CVS
cvs-commits at kaffe.org
Sun Mar 13 12:51:49 PST 2005
PatchSet 5554
Date: 2005/03/13 20:46:15
Author: robilad
Branch: HEAD
Tag: (none)
Log:
Cross-compilation fix for jit
2005-03-13 Dalibor Topic <robilad at kaffe.org>
* kaffe/kaffevm/jit/registers.c,
kaffe/kaffevm/jit3/registers.c:
(usecnt) Made static.
* kaffe/kaffevm/jit/registers.h,
kaffe/kaffevm/jit3/registers.h:
(usecnt) Removed prototype.
Members:
ChangeLog:1.3728->1.3729
kaffe/kaffevm/jit/registers.c:1.5->1.6
kaffe/kaffevm/jit/registers.h:1.4->1.5
kaffe/kaffevm/jit3/registers.c:1.18->1.19
kaffe/kaffevm/jit3/registers.h:1.9->1.10
Index: kaffe/ChangeLog
diff -u kaffe/ChangeLog:1.3728 kaffe/ChangeLog:1.3729
--- kaffe/ChangeLog:1.3728 Sun Mar 13 20:42:37 2005
+++ kaffe/ChangeLog Sun Mar 13 20:46:15 2005
@@ -1,5 +1,15 @@
2005-03-13 Dalibor Topic <robilad at kaffe.org>
+ * kaffe/kaffevm/jit/registers.c,
+ kaffe/kaffevm/jit3/registers.c:
+ (usecnt) Made static.
+
+ * kaffe/kaffevm/jit/registers.h,
+ kaffe/kaffevm/jit3/registers.h:
+ (usecnt) Removed prototype.
+
+2005-03-13 Dalibor Topic <robilad at kaffe.org>
+
* kaffe/kaffevm/thread.c:
(deadlockDetection) Made static.
(KaffeVM_setDeadlockDetection) New function.
Index: kaffe/kaffe/kaffevm/jit/registers.c
diff -u kaffe/kaffe/kaffevm/jit/registers.c:1.5 kaffe/kaffe/kaffevm/jit/registers.c:1.6
--- kaffe/kaffe/kaffevm/jit/registers.c:1.5 Mon Dec 20 00:55:14 2004
+++ kaffe/kaffe/kaffevm/jit/registers.c Sun Mar 13 20:46:17 2005
@@ -40,7 +40,7 @@
/* Count for each register use - gives an idea of which register is
* to be reused.
*/
-int usecnt = 0;
+static int usecnt = 0;
/*
* Set this if you prefer a given register for a slot.
Index: kaffe/kaffe/kaffevm/jit/registers.h
diff -u kaffe/kaffe/kaffevm/jit/registers.h:1.4 kaffe/kaffe/kaffevm/jit/registers.h:1.5
--- kaffe/kaffe/kaffevm/jit/registers.h:1.4 Wed Dec 27 06:21:04 2000
+++ kaffe/kaffe/kaffevm/jit/registers.h Sun Mar 13 20:46:17 2005
@@ -41,7 +41,6 @@
} kregs;
extern kregs reginfo[];
-extern int usecnt;
#define register_invalidate(r) reginfo[r].slot = NOSLOT
Index: kaffe/kaffe/kaffevm/jit3/registers.c
diff -u kaffe/kaffe/kaffevm/jit3/registers.c:1.18 kaffe/kaffe/kaffevm/jit3/registers.c:1.19
--- kaffe/kaffe/kaffevm/jit3/registers.c:1.18 Tue Dec 21 05:50:01 2004
+++ kaffe/kaffe/kaffevm/jit3/registers.c Sun Mar 13 20:46:18 2005
@@ -58,7 +58,7 @@
*
* Gives an idea of which register is to be reused.
*/
-int usecnt = 0;
+static int usecnt = 0;
/**
* Initialize the registers.
Index: kaffe/kaffe/kaffevm/jit3/registers.h
diff -u kaffe/kaffe/kaffevm/jit3/registers.h:1.9 kaffe/kaffe/kaffevm/jit3/registers.h:1.10
--- kaffe/kaffe/kaffevm/jit3/registers.h:1.9 Fri Mar 26 22:58:42 2004
+++ kaffe/kaffe/kaffevm/jit3/registers.h Sun Mar 13 20:46:18 2005
@@ -47,7 +47,6 @@
} kregs;
extern kregs reginfo[];
-extern int usecnt;
extern int enable_readonce;
#define MAXREG NR_REGISTERS
More information about the kaffe
mailing list