[kaffe] CVS kaffe (dalibor): Fixed some sparc jitter warnings

Kaffe CVS cvs-commits at kaffe.org
Mon Apr 26 02:24:03 PDT 2004


PatchSet 4695 
Date: 2004/04/26 09:06:57
Author: dalibor
Branch: HEAD
Tag: (none) 
Log:
Fixed some sparc jitter warnings

2004-02-26  Riccardo Mottola  <zuse at libero.it>

        * config/sparc/jit-sparc.def:
        Fixed compiler warnings.

Members: 
	ChangeLog:1.2271->1.2272 
	config/sparc/jit-sparc.def:1.9->1.10 

Index: kaffe/ChangeLog
diff -u kaffe/ChangeLog:1.2271 kaffe/ChangeLog:1.2272
--- kaffe/ChangeLog:1.2271	Sun Apr 25 19:57:50 2004
+++ kaffe/ChangeLog	Mon Apr 26 09:06:57 2004
@@ -1,3 +1,8 @@
+2004-02-26  Riccardo Mottola  <zuse at libero.it>
+
+	* config/sparc/jit-sparc.def:
+	Fixed compiler warnings.
+
 2004-04-25  Helmer Kraemer  <hkraemer at freenet.de>
 
 	* kaffe/kaffevm/systems/unix-jthreads/jthread.h
Index: kaffe/config/sparc/jit-sparc.def
diff -u kaffe/config/sparc/jit-sparc.def:1.9 kaffe/config/sparc/jit-sparc.def:1.10
--- kaffe/config/sparc/jit-sparc.def:1.9	Tue Mar 11 08:00:17 2003
+++ kaffe/config/sparc/jit-sparc.def	Mon Apr 26 09:06:59 2004
@@ -32,7 +32,7 @@
 #define	REG_f1			33
 
 #ifdef KAFFE_VMDEBUG
-static char* rnames[] = {
+static const char* rnames[] = {
 	"g0", "g1", "g2", "g3", "g4", "g5", "g6", "g7",
 	"o0", "o1", "o2", "o3", "o4", "o5", "o6", "o7",
 	"l0", "l1", "l2", "l3", "l4", "l5", "l6", "l7",
@@ -123,7 +123,7 @@
 	l->type = Lframe|Labsolute|Lgeneral;
 	l->at = (uintp)CODEPC;
 
-	insn_RRC(2, 0x3c, REG_sp, REG_sp, 0);
+	insn_RRC(2, (unsigned int)0x3c, REG_sp, REG_sp, 0);
 
 	debug(("save sp,?,sp\n"));
 
@@ -142,7 +142,7 @@
 {
 	setEpilogueLabel ((uintp)CODEPC);
 
-	insn_RRC(2, 0x38, REG_g0, REG_i7, 8);
+	insn_RRC(2, (unsigned int)0x38, REG_g0, REG_i7, 8);
 	insn_RRR(0x3D, REG_g0, REG_g0, REG_g0);
 
 	debug(("ret\n"));




More information about the kaffe mailing list