[kaffe] CVS kaffe (dalibor): Removed unused macro

Kaffe CVS cvs-commits at kaffe.org
Thu Feb 12 09:20:03 PST 2004


PatchSet 4417 
Date: 2004/02/12 16:57:32
Author: dalibor
Branch: HEAD
Tag: (none) 
Log:
Removed unused macro

2004-02-12  Dalibor Topic <robilad at kaffe.org>

        * kaffe/kaffevm/verify.c
        (IS_PRIMITIVE_ARRAY): Removed unused macro.

Members: 
	ChangeLog:1.2000->1.2001 
	kaffe/kaffevm/verify.c:1.34->1.35 

Index: kaffe/ChangeLog
diff -u kaffe/ChangeLog:1.2000 kaffe/ChangeLog:1.2001
--- kaffe/ChangeLog:1.2000	Thu Feb 12 16:47:38 2004
+++ kaffe/ChangeLog	Thu Feb 12 16:57:32 2004
@@ -1,6 +1,11 @@
 2004-02-12  Dalibor Topic <robilad at kaffe.org>
 
         * kaffe/kaffevm/verify.c
+	(IS_PRIMITIVE_ARRAY): Removed unused macro.
+
+2004-02-12  Dalibor Topic <robilad at kaffe.org>
+
+        * kaffe/kaffevm/verify.c
         (isNull): New static inline function.
         (IS_NULL) Removed.
         Replaced use of IS_NULL by isNull.
Index: kaffe/kaffe/kaffevm/verify.c
diff -u kaffe/kaffe/kaffevm/verify.c:1.34 kaffe/kaffe/kaffevm/verify.c:1.35
--- kaffe/kaffe/kaffevm/verify.c:1.34	Thu Feb 12 16:47:40 2004
+++ kaffe/kaffe/kaffevm/verify.c	Thu Feb 12 16:57:33 2004
@@ -1004,15 +1004,6 @@
 static Type  verify_DOUBLEARR;
 static Type* TDOUBLEARR = &verify_DOUBLEARR;
 
-
-#define IS_PRIMITIVE_ARRAY(_TINFO) \
-           (((_TINFO)->data.class) == TCHARARR->data.class  || ((_TINFO)->data.class) == TBYTEARR->data.class || \
-	    ((_TINFO)->data.class) == TSHORTARR->data.class || ((_TINFO)->data.class) == TINTARR->data.class  || \
-	    ((_TINFO)->data.class) == TLONGARR->data.class  || \
-            ((_TINFO)->data.class) == TFLOATARR->data.class || ((_TINFO)->data.class) == TDOUBLEARR->data.class)
-
-
-
 /***********************************************************************************
  * Methods for Pass 3 Verification
  ***********************************************************************************/




More information about the kaffe mailing list