[kaffe] CVS kaffe (dalibor): Small fixes for kaffeh

Kaffe CVS cvs-commits at kaffe.org
Mon Mar 29 14:07:02 PST 2004


PatchSet 4593 
Date: 2004/03/29 21:08:27
Author: dalibor
Branch: HEAD
Tag: (none) 
Log:
Small fixes for kaffeh

Members: 
	ChangeLog:1.2170->1.2171 
	kaffe/kaffeh/kaffeh-support.h:1.6->1.7 
	kaffe/kaffeh/support.c:1.39->1.40 

Index: kaffe/ChangeLog
diff -u kaffe/ChangeLog:1.2170 kaffe/ChangeLog:1.2171
--- kaffe/ChangeLog:1.2170	Mon Mar 29 20:30:56 2004
+++ kaffe/ChangeLog	Mon Mar 29 21:08:27 2004
@@ -1,5 +1,13 @@
 2004-03-29  Adam Heath <doogie at debian.org>
 
+	* kaffe/kafeh/kaffeh-support.h:
+	Added missing includes and prototypes.
+
+	* kaffe/kaffeh/support.c:
+	Removed unused methods.
+
+2004-03-29  Adam Heath <doogie at debian.org>
+
 	* kaffe/kaffevm/inflate.c
 	kaffe/kaffevm/inflate.h:
 	Fixed all sign-compare-1 warnings.
Index: kaffe/kaffe/kaffeh/kaffeh-support.h
diff -u kaffe/kaffe/kaffeh/kaffeh-support.h:1.6 kaffe/kaffe/kaffeh/kaffeh-support.h:1.7
--- kaffe/kaffe/kaffeh/kaffeh-support.h:1.6	Wed May 29 22:58:43 2002
+++ kaffe/kaffe/kaffeh/kaffeh-support.h	Mon Mar 29 21:08:30 2004
@@ -11,6 +11,9 @@
 #ifndef __kaffeh_kaffeh_support_h
 #define __kaffeh_kaffeh_support_h
 
+#include "gtypes.h"
+#include "file.h"
+
 extern void initStub(void);
 extern void startStub(void);
 
@@ -23,6 +26,12 @@
 extern void endJniInclude(void);
 
 extern void kaffeh_findClass(const char *nm);
+
+/* support.c */
+extern bool addCode(Method* m, uint32 len, classFile* fp, errorInfo *einfo);	
+extern bool addLineNumbers(Method* m, uint32 len, classFile* fp, errorInfo *info);
+extern bool addLocalVariables(Method* m, uint32 len, classFile* fp, errorInfo *info);
+extern bool addCheckedExceptions(Method* m, uint32 len, classFile* fp, errorInfo *info);
 
 /* sig.c */
 extern const char* translateSig(const char*, const char**, int*);
Index: kaffe/kaffe/kaffeh/support.c
diff -u kaffe/kaffe/kaffeh/support.c:1.39 kaffe/kaffe/kaffeh/support.c:1.40
--- kaffe/kaffe/kaffeh/support.c:1.39	Sat Mar 27 17:28:19 2004
+++ kaffe/kaffe/kaffeh/support.c	Mon Mar 29 21:08:30 2004
@@ -265,15 +265,6 @@
 }
 
 
-/*
- * Add a class.
- */
-void
-addClass(u2 this, u2 super, u2 access, constants* cpool)
-{
-}
-
-
 bool
 addSourceFile(Hjava_lang_Class* c, int idx, errorInfo *einfo)
 {
@@ -802,16 +793,6 @@
 void
 addInterfaces(Hjava_lang_Class* this, u2 icount, Hjava_lang_Class** ifaces)
 {
-}
-
-
-/*
- * Read and process a method.
- */
-void
-readMethod(classFile* fp, Hjava_lang_Class* this, constants* cpool)
-{
-	assert(false);
 }
 
 /*




More information about the kaffe mailing list