CVSROOT:        /sources/dotgnu-pnet
Module name:    libjit
Changes by:     Aleksey Demakov <avd>   09/02/05 21:06:43

Modified files:
        .              : ChangeLog 
Added files:
        include/jit    : jit-arch-arm.h 

Log message:
        add jit-arch-arm.h

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/libjit/ChangeLog?cvsroot=dotgnu-pnet&r1=1.402&r2=1.403
http://cvs.savannah.gnu.org/viewcvs/libjit/include/jit/jit-arch-arm.h?cvsroot=dotgnu-pnet&rev=1.1

Patches:
Index: ChangeLog
===================================================================
RCS file: /sources/dotgnu-pnet/libjit/ChangeLog,v
retrieving revision 1.402
retrieving revision 1.403
diff -u -b -r1.402 -r1.403
--- ChangeLog   5 Feb 2009 21:01:24 -0000       1.402
+++ ChangeLog   5 Feb 2009 21:06:43 -0000       1.403
@@ -1,7 +1,8 @@
 2009-02-06  Michele Tartara  <[email protected]>
 
-       * jit/jit-rules.h; define JIT_BACKEND_ARM on ARM
-       * tools/gen-apply.c: define PLATFORM_IS_ARM on ARM
+       * jit/jit-rules.h; define JIT_BACKEND_ARM on ARM.
+       * tools/gen-apply.c: define PLATFORM_IS_ARM on ARM.
+       * include/jit/jit-arch-arm.h: add ARM arch header.
 
 2009-01-30  Peter Fristedt  <[email protected]>
             Kirill Kononenko  <[email protected]>

Index: include/jit/jit-arch-arm.h
===================================================================
RCS file: include/jit/jit-arch-arm.h
diff -N include/jit/jit-arch-arm.h
--- /dev/null   1 Jan 1970 00:00:00 -0000
+++ include/jit/jit-arch-arm.h  5 Feb 2009 21:06:43 -0000       1.1
@@ -0,0 +1,38 @@
+/*
+ * jit-arch-arm.h - Architecture-specific definitions.
+ *
+ * Copyright (C) 2006  Southern Storm Software, Pty Ltd.
+ *
+ * The libjit library is free software: you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public License
+ * as published by the Free Software Foundation, either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * The libjit library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with the libjit library.  If not, see
+ * <http://www.gnu.org/licenses/>.
+ */
+
+#ifndef        _JIT_ARCH_ARM_H
+#define        _JIT_ARCH_ARM_H
+
+/*
+ * If defined _JIT_ARCH_GET_CURRENT_FRAME() macro assigns the current frame
+ * pointer to the supplied argument that has to be a void pointer.
+ */
+#if defined(__GNUC__)
+#define _JIT_ARCH_GET_CURRENT_FRAME(f)         \
+       do {                                    \
+               register void *__f asm("fp");   \
+               f = __f;                        \
+       } while(0)
+#else
+#undef _JIT_ARCH_GET_CURRENT_FRAME
+#endif
+
+#endif /* _JIT_ARCH_ARM_H */


_______________________________________________
dotgnu-pnet-commits mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/dotgnu-pnet-commits

Reply via email to