[kaffe] CVS kaffe (dalibor): Use getIdx and getWIdx consistently.

Kaffe CVS Kaffe Mailing List <kaffe@kaffe.org>
Sat Feb 28 09:09:01 2004


PatchSet 4472 
Date: 2004/02/28 17:03:19
Author: dalibor
Branch: HEAD
Tag: (none) 
Log:
Use getIdx and getWIdx consistently.

2004-02-28  Dalibor Topic <robilad@kaffe.org>

        * kaffe/kaffevm/verify.c
        Use getIdx and getWIdx consistently.

Members: 
	ChangeLog:1.2052->1.2053 
	kaffe/kaffevm/verify.c:1.64->1.65 

Index: kaffe/ChangeLog
diff -u kaffe/ChangeLog:1.2052 kaffe/ChangeLog:1.2053
--- kaffe/ChangeLog:1.2052	Sat Feb 28 16:52:30 2004
+++ kaffe/ChangeLog	Sat Feb 28 17:03:19 2004
@@ -1,6 +1,11 @@
 2004-02-28  Dalibor Topic <robilad@kaffe.org>
 
         * kaffe/kaffevm/verify.c
+        Use getIdx and getWIdx consistently.
+
+2004-02-28  Dalibor Topic <robilad@kaffe.org>
+
+        * kaffe/kaffevm/verify.c
 	Use getNextPC consistently.
 
 2004-02-28  Dalibor Topic <robilad@kaffe.org>
Index: kaffe/kaffe/kaffevm/verify.c
diff -u kaffe/kaffe/kaffevm/verify.c:1.64 kaffe/kaffe/kaffevm/verify.c:1.65
--- kaffe/kaffe/kaffevm/verify.c:1.64	Sat Feb 28 16:52:31 2004
+++ kaffe/kaffe/kaffevm/verify.c	Sat Feb 28 17:03:20 2004
@@ -2782,10 +2782,10 @@
 	 **************************************************************************************************/
 
 #define GET_IDX \
-	idx = code[pc + 1]
+	idx = getIdx(code, pc)
 	
 #define GET_WIDX \
-	idx = pc + 1; idx = getWord(code, idx)
+	idx = getWIdx(code, pc)
 	
 	
 	/* checks whether the specified local variable is of the specified type. */