[kaffe] CVS kaffe (robilad): fixed FPFRAME warnings for powerpc

Kaffe CVS cvs-commits at kaffe.org
Wed Aug 10 16:21:30 PDT 2005


PatchSet 6811 
Date: 2005/08/10 23:13:54
Author: robilad
Branch: HEAD
Tag: (none) 
Log:
fixed FPFRAME warnings for powerpc

2005-08-10  Andreas Tobler  <a.tobler at schweiz.ch>

        * config/powerpc/ppc_stack_frame.h (FPFRAME): Return an address and
        not a pointer.

Members: 
	ChangeLog:1.4336->1.4337 
	config/powerpc/ppc_stack_frame.h:1.2->1.3 

Index: kaffe/ChangeLog
diff -u kaffe/ChangeLog:1.4336 kaffe/ChangeLog:1.4337
--- kaffe/ChangeLog:1.4336	Wed Aug 10 21:17:28 2005
+++ kaffe/ChangeLog	Wed Aug 10 23:13:54 2005
@@ -1,3 +1,8 @@
+2005-08-10  Andreas Tobler  <a.tobler at schweiz.ch>
+
+	* config/powerpc/ppc_stack_frame.h (FPFRAME): Return an address and
+	not a pointer.
+
 2005-08-10  Dalibor Topic  <robilad at kaffe.org>
 
         * kaffe/kaffevm/gtypes.h,
Index: kaffe/config/powerpc/ppc_stack_frame.h
diff -u kaffe/config/powerpc/ppc_stack_frame.h:1.2 kaffe/config/powerpc/ppc_stack_frame.h:1.3
--- kaffe/config/powerpc/ppc_stack_frame.h:1.2	Tue Dec 21 00:15:28 2004
+++ kaffe/config/powerpc/ppc_stack_frame.h	Wed Aug 10 23:13:57 2005
@@ -83,8 +83,8 @@
  * a NULL here otherwise we'll segfault when examining the top frame.
  */
 #define PCFRAME(f) ((f)->sp == 0 ? 0 : (f)->sp->lr - 1)
-/* Get the frame pointer from an exceptionFrame. */
-#define FPFRAME(f) ((f)->sp)
+/* Get the frame pointer address from an exceptionFrame. */
+#define FPFRAME(f) ((unsigned long)(f)->sp)
 
 /* Get the "this" object out of a stack frame. */
 #define FRAMEOBJECT(obj, f, einfo) \



More information about the kaffe mailing list