[kaffe] CVS kaffe (inaba): Fix argument type mismatch.

Kaffe CVS cvs-commits at kaffe.org
Fri May 27 20:28:11 PDT 2005


PatchSet 6582 
Date: 2005/05/28 03:23:41
Author: inaba
Branch: HEAD
Tag: (none) 
Log:
Fix argument type mismatch.

Members: 
	ChangeLog:1.4109->1.4110 
	kaffe/kaffevm/jit3/icode.c:1.53->1.54 

Index: kaffe/ChangeLog
diff -u kaffe/ChangeLog:1.4109 kaffe/ChangeLog:1.4110
--- kaffe/ChangeLog:1.4109	Sat May 28 03:16:35 2005
+++ kaffe/ChangeLog	Sat May 28 03:23:41 2005
@@ -1,5 +1,12 @@
 2005-05-28  Kiyo Inaba <inaba at src.ricoh.co.jp>
 
+	* kaffe/kaffevm/jit3/icode.c:
+	Fix argument type mismatch.
+	The 'else' parts of 'neg_float' or 'neg_double' may have never
+	been used.
+
+2005-05-28  Kiyo Inaba <inaba at src.ricoh.co.jp>
+
 	* config/sh/trampolines.S:
 	Fix bugs introduced in Gcc assembler to real assembler conversion.
 
Index: kaffe/kaffe/kaffevm/jit3/icode.c
diff -u kaffe/kaffe/kaffevm/jit3/icode.c:1.53 kaffe/kaffe/kaffevm/jit3/icode.c:1.54
--- kaffe/kaffe/kaffevm/jit3/icode.c:1.53	Fri May  6 15:24:29 2005
+++ kaffe/kaffe/kaffevm/jit3/icode.c	Sat May 28 03:23:45 2005
@@ -1761,7 +1761,7 @@
 #else
 	SlotInfo* zero;
 	slot_alloctmp(zero);
-	move_float_const(zero, NULL);
+	move_float_const(zero, 0);
 	sub_float(dst, zero, src);
 	slot_freetmp(zero);
 #endif
@@ -1775,7 +1775,7 @@
 #else
 	SlotInfo* zero;
 	slot_alloc2tmp(zero);
-	move_double_const(zero, NULL);
+	move_double_const(zero, 0);
 	sub_double(dst, zero, src);
 	slot_free2tmp(zero);
 #endif




More information about the kaffe mailing list