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

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

[dotgnu-pnet-commits] [SCM] DotGNU Portable.NET Just In Time compiler (l


From: Klaus Treichel
Subject: [dotgnu-pnet-commits] [SCM] DotGNU Portable.NET Just In Time compiler (libjit) branch, master, updated. 57f61f53ca17b46754e5370b308807bbf2791b98
Date: Sun, 22 Jan 2012 10:53:20 +0000

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "DotGNU Portable.NET Just In Time compiler (libjit)".

The branch, master has been updated
       via  57f61f53ca17b46754e5370b308807bbf2791b98 (commit)
      from  f7334fc65aef4d78f39efc2a308aa0e031c64b8e (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
http://git.savannah.gnu.org/cgit/libjit.git/commit/?id=57f61f53ca17b46754e5370b308807bbf2791b98

commit 57f61f53ca17b46754e5370b308807bbf2791b98
Author: Klaus Treichel <address@hidden>
Date:   Sun Jan 22 11:50:25 2012 +0100

    Move declaration of obsolete opcodes to a separate include file.

diff --git a/ChangeLog b/ChangeLog
index 198454d..468b5a1 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,15 @@
+2012-01-22  Klaus Treichel  <address@hidden>
+
+       * config/jit-opcodes.ops: Move declaration of obsolete opcodes to
+       the separate include file jit-opcode-compat.h and include this new
+       file instead.
+
+       * include/jit/jit-opcode-compat.h: add new include file for
+       obsolete opcodes.
+
+       * include/jit/Makefile.am: add jit-opcode-compat.h to the include
+       sources.
+
 2011-12-18  Aleksey Demakov  <address@hidden>
 
        * jit/Makefile.am:
diff --git a/config/jit-opcodes.ops b/config/jit-opcodes.ops
index 68a7fd9..3be97e1 100644
--- a/config/jit-opcodes.ops
+++ b/config/jit-opcodes.ops
@@ -951,22 +951,7 @@ struct jit_opcode_info
 #endif
 JIT_EXPORT_DATA jit_opcode_info_t const jit_opcodes[JIT_OP_NUM_OPCODES];
 
-/*
- * Some obsolete opcodes that have been removed because they are duplicates
- * of other opcodes.
- */
-#define JIT_OP_FEQ_INV         JIT_OP_FEQ
-#define JIT_OP_FNE_INV         JIT_OP_FNE
-#define JIT_OP_DEQ_INV         JIT_OP_DEQ
-#define JIT_OP_DNE_INV         JIT_OP_DNE
-#define JIT_OP_NFEQ_INV                JIT_OP_NFEQ
-#define JIT_OP_NFNE_INV                JIT_OP_NFNE
-#define JIT_OP_BR_FEQ_INV      JIT_OP_BR_FEQ
-#define JIT_OP_BR_FNE_INV      JIT_OP_BR_FNE
-#define JIT_OP_BR_DEQ_INV      JIT_OP_BR_DEQ
-#define JIT_OP_BR_DNE_INV      JIT_OP_BR_DNE
-#define JIT_OP_BR_NFEQ_INV     JIT_OP_BR_NFEQ
-#define JIT_OP_BR_NFNE_INV     JIT_OP_BR_NFNE
+#include "jit-opcode-compat.h"
 
 #ifdef __cplusplus
 };
diff --git a/include/jit/Makefile.am b/include/jit/Makefile.am
index 5ad4bf4..3e84067 100644
--- a/include/jit/Makefile.am
+++ b/include/jit/Makefile.am
@@ -22,6 +22,7 @@ dist_libjitinclude_HEADERS = \
        jit-meta.h \
        jit-objmodel.h \
        jit-objmodel-private.h \
+       jit-opcode-compat.h \
        jit-opcode.h \
        jit-plus.h \
        jit-type.h \
diff --git a/include/jit/jit-opcode-compat.h b/include/jit/jit-opcode-compat.h
new file mode 100644
index 0000000..706a14b
--- /dev/null
+++ b/include/jit/jit-opcode-compat.h
@@ -0,0 +1,50 @@
+/*
+ * jit-opcode-compat.h - Definition of obsolete opcodes for compatibility
+ *                                              reasons.
+ *
+ * Copyright (C) 2011  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_OPCODE_COMPAT_H
+#define        _JIT_OPCODE_COMPAT_H
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+/*
+ * Some obsolete opcodes that have been removed because they are duplicates
+ * of other opcodes.
+ */
+#define JIT_OP_FEQ_INV         JIT_OP_FEQ
+#define JIT_OP_FNE_INV         JIT_OP_FNE
+#define JIT_OP_DEQ_INV         JIT_OP_DEQ
+#define JIT_OP_DNE_INV         JIT_OP_DNE
+#define JIT_OP_NFEQ_INV                JIT_OP_NFEQ
+#define JIT_OP_NFNE_INV                JIT_OP_NFNE
+#define JIT_OP_BR_FEQ_INV      JIT_OP_BR_FEQ
+#define JIT_OP_BR_FNE_INV      JIT_OP_BR_FNE
+#define JIT_OP_BR_DEQ_INV      JIT_OP_BR_DEQ
+#define JIT_OP_BR_DNE_INV      JIT_OP_BR_DNE
+#define JIT_OP_BR_NFEQ_INV     JIT_OP_BR_NFEQ
+#define JIT_OP_BR_NFNE_INV     JIT_OP_BR_NFNE
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif /* _JIT_VMEM_H */

-----------------------------------------------------------------------

Summary of changes:
 ChangeLog                                       |   12 ++++++
 config/jit-opcodes.ops                          |   17 +--------
 include/jit/Makefile.am                         |    1 +
 include/jit/{jit-vmem.h => jit-opcode-compat.h} |   48 +++++++++-------------
 4 files changed, 34 insertions(+), 44 deletions(-)
 copy include/jit/{jit-vmem.h => jit-opcode-compat.h} (53%)


hooks/post-receive
-- 
DotGNU Portable.NET Just In Time compiler (libjit)



reply via email to

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