[kaffe] CVS kaffe (dalibor): Removed CALL_KAFFE_FUNCTION_VARARGS from m68k-openbsd

Kaffe CVS cvs-commits at kaffe.org
Sun Apr 18 07:23:04 PDT 2004


PatchSet 4659 
Date: 2004/04/18 14:19:02
Author: dalibor
Branch: HEAD
Tag: (none) 
Log:
Removed CALL_KAFFE_FUNCTION_VARARGS from m68k-openbsd

2004-04-18  Dalibor Topic <robilad at kaffe.org>

        * config/m68k/openbsd2/jit.h:
        (CALL_KAFFE_FUNCTION_VARARGS) Removed since unused.

Members: 
	ChangeLog:1.2235->1.2236 
	config/m68k/openbsd2/jit.h:1.4->1.5 

Index: kaffe/ChangeLog
diff -u kaffe/ChangeLog:1.2235 kaffe/ChangeLog:1.2236
--- kaffe/ChangeLog:1.2235	Sun Apr 18 13:57:24 2004
+++ kaffe/ChangeLog	Sun Apr 18 14:19:02 2004
@@ -1,3 +1,8 @@
+2004-04-18  Dalibor Topic <robilad at kaffe.org>
+
+	* config/m68k/openbsd2/jit.h:
+	(CALL_KAFFE_FUNCTION_VARARGS) Removed since unused.
+
 2004-04-18  Nektarios Papadopoulos <npapadop at inaccessnetworks.com>
 
         * kaffe/kaffevm/classMethod.c,
Index: kaffe/config/m68k/openbsd2/jit.h
diff -u kaffe/config/m68k/openbsd2/jit.h:1.4 kaffe/config/m68k/openbsd2/jit.h:1.5
--- kaffe/config/m68k/openbsd2/jit.h:1.4	Fri Apr 16 16:26:38 2004
+++ kaffe/config/m68k/openbsd2/jit.h	Sun Apr 18 14:19:06 2004
@@ -71,33 +71,6 @@
 		: "d0", "cc", "memory")
 
 /**/
-/* Native function invocation. */
-/**/
-#define	CALL_KAFFE_FUNCTION_VARARGS(meth, obj, nargs, argptr, retval)	\
-	__asm__ __volatile__(						\
-		"movem%.l %/d2-%/d7/%/a1-%/a5,%-\n\t"			\
-		"fmovem %/fp0-%/fp7,%-\n\t"				\
-		"move%.l %3,%/d0\n\t"					\
-		"beq 2f\n\t"						\
-		"lea %4@(%/d0:L:4),%/a0\n\t"				\
-		"subq%.l %#1,%/d0\n"					\
-	"1:	move%.l %/a0 at -,%-\n\t"					\
-		"dbra %/d0, 1b\n"					\
-	"2:	move%.l %2,%-\n\t"					\
-		"jsr %1\n\t"						\
-		"move%.l %5,%/d1\n\t"					\
-		"addl %/d1,%/sp\n\t"					\
-		"move%.l %/d0,%0\n\t"					\
-		"fmovem %+,%/fp0-%/fp7\n\t"				\
-		"movem%.l %+,%/d2-%/d7/%/a1-%/a5"			\
-		: "=m"(retval)						\
-		: "m"(*meth->ncode), "g"(obj), "g"(nargs), "a"(argptr),	\
-		  "m"(4*(nargs+1))					\
-		: "cc", "memory", "a0","d0","d1")
-		
-
-
-/**/
 /* Method dispatch.  */
 /**/
 




More information about the kaffe mailing list