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. 9f94c48d3f6a3009701256e4626f84d250a84bd5
Date: Thu, 02 Dec 2010 17:59:46 +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  9f94c48d3f6a3009701256e4626f84d250a84bd5 (commit)
      from  94ebb4f0ac8a417b1485f485ae717d617363a896 (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=9f94c48d3f6a3009701256e4626f84d250a84bd5

commit 9f94c48d3f6a3009701256e4626f84d250a84bd5
Author: Klaus Treichel <address@hidden>
Date:   Sun Nov 28 20:04:32 2010 +0100

    Dump the destination value for      the address_of_label opcode.

diff --git a/ChangeLog b/ChangeLog
index e0eeca9..a1440c7 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2010-11-28  Klaus Treichel  <address@hidden>
+
+       * config/jit-opcodes.ops: Set the destination value type for the
+       address_of_label opcode.
+
+       * jit/jit-dump.c (jit_dump_insn): Print the destination value for
+       the address_of_label opcode.
+
 2010-11-07  Klaus Treichel  <address@hidden>
 
        * jit/jit-cache.h: Fix comment for _jit_cache_get_end_method.
diff --git a/config/jit-opcodes.ops b/config/jit-opcodes.ops
index d54e628..68a7fd9 100644
--- a/config/jit-opcodes.ops
+++ b/config/jit-opcodes.ops
@@ -775,7 +775,7 @@ opcodes(JIT_OP_, "jit_opcode_info_t const 
jit_opcodes[JIT_OP_NUM_OPCODES]")
        op_def("leave_filter") { op_values(empty, any) }
        op_def("call_filter") { op_type(branch), op_values(empty, any) }
        op_def("call_filter_return") { op_values(any) }
-       op_def("address_of_label") { op_type(address_of_label) }
+       op_def("address_of_label") { op_type(address_of_label), op_values(ptr) }
        /*
         * Data manipulation.
         */
diff --git a/jit/jit-dump.c b/jit/jit-dump.c
index 1147abd..8af455e 100644
--- a/jit/jit-dump.c
+++ b/jit/jit-dump.c
@@ -422,6 +422,8 @@ void jit_dump_insn(FILE *stream, jit_function_t func, 
jit_insn_t insn)
        }
        else if((flags & JIT_OPCODE_IS_ADDROF_LABEL) != 0)
        {
+               dump_value(stream, func, jit_insn_get_dest(insn), flags & 
JIT_OPCODE_DEST_MASK);
+               fprintf(stream, " = ");
                fprintf(stream, "address_of_label .L%ld",
                                (long)(jit_insn_get_label(insn)));
                return;

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

Summary of changes:
 ChangeLog              |    8 ++++++++
 config/jit-opcodes.ops |    2 +-
 jit/jit-dump.c         |    2 ++
 3 files changed, 11 insertions(+), 1 deletions(-)


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



reply via email to

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