[kaffe] CVS kaffe (guilhem): Cleaned up the modification to JIT.

Kaffe CVS cvs-commits at kaffe.org
Sun Aug 22 07:04:55 PDT 2004


PatchSet 5090 
Date: 2004/08/22 14:00:33
Author: guilhem
Branch: HEAD
Tag: (none) 
Log:
Cleaned up the modification to JIT.

Members: 
	ChangeLog:1.2648->1.2649 
	kaffe/kaffevm/jit/icode.c:1.29->1.30 

Index: kaffe/ChangeLog
diff -u kaffe/ChangeLog:1.2648 kaffe/ChangeLog:1.2649
--- kaffe/ChangeLog:1.2648	Sun Aug 22 13:31:24 2004
+++ kaffe/ChangeLog	Sun Aug 22 14:00:33 2004
@@ -1,5 +1,11 @@
 2004-08-22  Guilhem Lavaux  <guilhem at kaffe.org>
 
+	* kaffe/kaffevm/jit/icode.c
+	(move_float_const_bits): Removed. Unused.
+	(set_label): Cleaned up. The change was unnecessary.
+
+2004-08-22  Guilhem Lavaux  <guilhem at kaffe.org>
+
 	* config/sparc/jit-icode.h, config/i386/jit-icode.h,
 	config/alpha/jit-icode.h, config/arm/jit-icode.h,
 	config/m68k/jit-icode.h
Index: kaffe/kaffe/kaffevm/jit/icode.c
diff -u kaffe/kaffe/kaffevm/jit/icode.c:1.29 kaffe/kaffe/kaffevm/jit/icode.c:1.30
--- kaffe/kaffe/kaffevm/jit/icode.c:1.29	Sun Aug 22 13:31:30 2004
+++ kaffe/kaffe/kaffevm/jit/icode.c	Sun Aug 22 14:00:35 2004
@@ -469,26 +469,6 @@
 }
 
 void
-move_float_const_bits(SlotInfo* dst, int val)
-{
-	constpool *c;
-        label* l;
-        SlotInfo* tmp;
-
-        c = newConstant(CPint, val);
-        l = newLabel();
-        l->type = Lconstant;
-        l->at = 0;
-        l->to = (uintp)c;
-        l->from = 0;
-
-        slot_alloctmp(tmp);
-        move_label_const(tmp, l);
-        load_float(dst, tmp);
-        slot_freetmp(tmp);
-}
-
-void
 move_float_const(SlotInfo* dst, float val)
 {
 #if defined(HAVE_move_float_const)
@@ -2812,7 +2792,7 @@
 	}
 	else {
 		assert(labtab[n]->type == Lnull);
-		labtab[n]->type = Linternal | (labtab[n]->type & ~Ltomask);
+		labtab[n]->type = Linternal;
 		slot_slot_const(0, 0, (jword)labtab[n], HAVE_set_label, Tnull);
 		labtab[n] = 0;
 	}




More information about the kaffe mailing list