[kaffe] CVS kaffe (robilad): fixed small compiler warning

Kaffe CVS cvs-commits at kaffe.org
Fri Apr 14 13:25:31 PDT 2006


PatchSet 7222 
Date: 2006/04/14 20:17:30
Author: robilad
Branch: HEAD
Tag: (none) 
Log:
fixed small compiler warning

2006-04-14  Dalibor Topic  <robilad at kaffe.org>

* kaffe/kaffevm/jit3/icode.c,
kaffe/kaffevm/jit3/codeproto.h (softcall_lookupinterfacemethod):
Added missing const to Method parameter to fix compiler warning.

Members: 
	ChangeLog:1.4728->1.4729 
	kaffe/kaffevm/jit3/codeproto.h:1.18->1.19 
	kaffe/kaffevm/jit3/icode.c:1.60->1.61 

Index: kaffe/ChangeLog
diff -u kaffe/ChangeLog:1.4728 kaffe/ChangeLog:1.4729
--- kaffe/ChangeLog:1.4728	Fri Apr 14 19:02:05 2006
+++ kaffe/ChangeLog	Fri Apr 14 20:17:30 2006
@@ -1,5 +1,11 @@
 2006-04-14  Dalibor Topic  <robilad at kaffe.org>
 
+	* kaffe/kaffevm/jit3/icode.c,
+	kaffe/kaffevm/jit3/codeproto.h (softcall_lookupinterfacemethod):
+	Added missing const to Method parameter to fix compiler warning.
+
+2006-04-14  Dalibor Topic  <robilad at kaffe.org>
+
 	* kaffe/kaffevm/exception.c (dispatchException): 
 	Added missing cast for fix compiler warning.
 
Index: kaffe/kaffe/kaffevm/jit3/codeproto.h
diff -u kaffe/kaffe/kaffevm/jit3/codeproto.h:1.18 kaffe/kaffe/kaffevm/jit3/codeproto.h:1.19
--- kaffe/kaffe/kaffevm/jit3/codeproto.h:1.18	Tue Jul 19 16:27:37 2005
+++ kaffe/kaffe/kaffevm/jit3/codeproto.h	Fri Apr 14 20:17:35 2006
@@ -279,7 +279,7 @@
 void check_array_store(SlotInfo*, SlotInfo*);
 void check_array_constindex(SlotInfo*, jint);
 
-void softcall_lookupinterfacemethod(SlotInfo*, Method*, SlotInfo*);
+void softcall_lookupinterfacemethod(SlotInfo*, const Method*, SlotInfo*);
 void softcall_nullpointer(void);
 void softcall_divzero(void);
 void softcall_new(SlotInfo*, struct Hjava_lang_Class*);
Index: kaffe/kaffe/kaffevm/jit3/icode.c
diff -u kaffe/kaffe/kaffevm/jit3/icode.c:1.60 kaffe/kaffe/kaffevm/jit3/icode.c:1.61
--- kaffe/kaffe/kaffevm/jit3/icode.c:1.60	Wed Aug 10 11:03:18 2005
+++ kaffe/kaffe/kaffevm/jit3/icode.c	Fri Apr 14 20:17:35 2006
@@ -4643,7 +4643,7 @@
 #endif
 
 void
-softcall_lookupinterfacemethod(SlotInfo* dst, Method* meth, SlotInfo* obj)
+softcall_lookupinterfacemethod(SlotInfo* dst, const Method* meth, SlotInfo* obj)
 {
 	/* 'obj' must be written back since it will be reused */
 	begin_func_sync();




More information about the kaffe mailing list