dotgnu-pnet-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[dotgnu-pnet-commits] libjit/include/jit jit-arch-generic.h jit-arch-...


From: Aleksey Demakov
Subject: [dotgnu-pnet-commits] libjit/include/jit jit-arch-generic.h jit-arch-...
Date: Tue, 27 May 2008 07:37:00 +0000

CVSROOT:        /sources/dotgnu-pnet
Module name:    libjit
Changes by:     Aleksey Demakov <avd>   08/05/27 07:37:00

Modified files:
        include/jit    : jit-arch-generic.h jit-arch-x86-64.h 

Log message:
        add comments

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/libjit/include/jit/jit-arch-generic.h?cvsroot=dotgnu-pnet&r1=1.2&r2=1.3
http://cvs.savannah.gnu.org/viewcvs/libjit/include/jit/jit-arch-x86-64.h?cvsroot=dotgnu-pnet&r1=1.2&r2=1.3

Patches:
Index: jit-arch-generic.h
===================================================================
RCS file: /sources/dotgnu-pnet/libjit/include/jit/jit-arch-generic.h,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -b -r1.2 -r1.3
--- jit-arch-generic.h  24 Jan 2008 20:12:49 -0000      1.2
+++ jit-arch-generic.h  27 May 2008 07:37:00 -0000      1.3
@@ -29,4 +29,22 @@
  */
 #undef _JIT_ARCH_GET_CURRENT_FRAME
 
+/*
+ * If defined _JIT_ARCH_GET_NEXT_FRAME() assigns the frame address following
+ * the frame supplied as second arg to the value supplied as first argument.
+ */
+#undef _JIT_ARCH_GET_NEXT_FRAME
+
+/*
+ * If defined _JIT_ARCH_GET_RETURN_ADDRESS() assigns the return address of
+ * the frame supplied as second arg to the value supplied as first argument.
+ */
+#undef _JIT_ARCH_GET_RETURN_ADDRESS
+
+/*
+ * If defined _JIT_ARCH_GET_CURRENT_RETURN() assigns the return address of
+ * the current to the supplied argument.
+ */
+#define _JIT_ARCH_GET_CURRENT_RETURN
+
 #endif /* _JIT_ARCH_GENERIC_H */

Index: jit-arch-x86-64.h
===================================================================
RCS file: /sources/dotgnu-pnet/libjit/include/jit/jit-arch-x86-64.h,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -b -r1.2 -r1.3
--- jit-arch-x86-64.h   23 May 2008 11:00:43 -0000      1.2
+++ jit-arch-x86-64.h   27 May 2008 07:37:00 -0000      1.3
@@ -56,7 +56,7 @@
 #endif
 
 /*
- * If defined _JIT_ARCH_GET_NEXT_FRAME assigns the frame address following
+ * If defined _JIT_ARCH_GET_NEXT_FRAME() assigns the frame address following
  * the frame supplied as second arg to the value supplied as first argument.
  */
 #define _JIT_ARCH_GET_NEXT_FRAME(n, f)                                         
        \
@@ -65,14 +65,18 @@
        } while(0)
 
 /*
- * If defined _JIT_ARCH_GET_RETURN_ADDRESS assigns the return address of the 
frame
- * supplied as second arg to the value supplied as first argument.
+ * If defined _JIT_ARCH_GET_RETURN_ADDRESS() assigns the return address of
+ * the frame supplied as second arg to the value supplied as first argument.
  */
 #define _JIT_ARCH_GET_RETURN_ADDRESS(r, f)                                     
        \
        do {                                                                    
        \
                (r) = (void *)((f) ? ((_jit_arch_frame_t *)(f))->return_address 
: 0);   \
        } while(0)
 
+/*
+ * If defined _JIT_ARCH_GET_CURRENT_RETURN() assigns the return address of
+ * the current to the supplied argument.
+ */
 #define _JIT_ARCH_GET_CURRENT_RETURN(r)                                \
        do {                                                    \
                void *__frame;                                  \




reply via email to

[Prev in Thread] Current Thread [Next in Thread]