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

Kaffe CVS cvs-commits at kaffe.org
Mon Feb 16 10:23:03 PST 2004


PatchSet 4433 
Date: 2004/02/16 18:20:12
Author: dalibor
Branch: HEAD
Tag: (none) 
Log:
Removed unused macros

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

        * kaffe/kaffevm/verify.c
        (LOCALS_INFO, OPSTACK_INFO): Removed, since unused.

Members: 
	ChangeLog:1.2016->1.2017 
	kaffe/kaffevm/verify.c:1.49->1.50 

Index: kaffe/ChangeLog
diff -u kaffe/ChangeLog:1.2016 kaffe/ChangeLog:1.2017
--- kaffe/ChangeLog:1.2016	Mon Feb 16 17:46:57 2004
+++ kaffe/ChangeLog	Mon Feb 16 18:20:12 2004
@@ -1,6 +1,11 @@
 2004-02-16  Dalibor Topic <robilad at kaffe.org>
 
         * kaffe/kaffevm/verify.c
+	(LOCALS_INFO, OPSTACK_INFO): Removed, since unused.
+
+2004-02-16  Dalibor Topic <robilad at kaffe.org>
+
+        * kaffe/kaffevm/verify.c
         (checkStackOverflowErrorInVerifyBasicBlock): New static inline function.
         (CHECK_STACK_OVERFLOW) Use checkStackOverflowErrorInVerifyBasicBlock.
 
Index: kaffe/kaffe/kaffevm/verify.c
diff -u kaffe/kaffe/kaffevm/verify.c:1.49 kaffe/kaffe/kaffevm/verify.c:1.50
--- kaffe/kaffe/kaffevm/verify.c:1.49	Mon Feb 16 17:46:59 2004
+++ kaffe/kaffe/kaffevm/verify.c	Mon Feb 16 18:20:14 2004
@@ -2693,14 +2693,6 @@
 		return checkStackOverflowErrorInVerifyBasicBlock(einfo, method, block, this, _N); \
 	}
 	
-#define OPSTACK_INFO(_N) \
-        (block->opstack[block->stacksz - _N].tinfo)
-
-#define LOCALS_INFO(_N) \
-	(block->locals[_N].tinfo)
-	
-	
-	
 #define OPSTACK_PUSH_BLIND(_TINFO) \
 	block->opstack[block->stacksz++] = *(_TINFO)
 	
@@ -3946,9 +3938,6 @@
 #undef OPSTACK_WPUSH_BLIND
 #undef OPSTACK_PUSH
 #undef OPSTACK_PUSH_BLIND
-
-#undef LOCALS_INFO
-#undef OPSTACK_INFO
 
 #undef CHECK_STACK_OVERFLOW
 #undef ENSURE_OPSTACK_SIZE




More information about the kaffe mailing list