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. 9902db1950efe9a438573e1a9faa3c4984f2b5af
Date: Sat, 08 May 2010 13:00:18 +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  9902db1950efe9a438573e1a9faa3c4984f2b5af (commit)
      from  31659e71e173d7a678837ab90a7b28d8bb86c5f3 (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=9902db1950efe9a438573e1a9faa3c4984f2b5af

commit 9902db1950efe9a438573e1a9faa3c4984f2b5af
Author: Klaus Treichel <address@hidden>
Date:   Sat May 8 14:59:50 2010 +0200

    Don't merge an empty block if the address of the block was used.

diff --git a/ChangeLog b/ChangeLog
index 3cb6dde..7d5c0a4 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2010-05-08  Klaus Treichel  <address@hidden>
+
+       * jit/jit-block.c (_jit_block_clean_cfg): Don't merge an empty block
+       if the block's address was used.
+
 2010-01-24  Klaus Treichel  <address@hidden>
 
        * jit/jit-insn.c (jit_insn_branch_if, jit_insn_branch_if_not): Fix
diff --git a/jit/jit-block.c b/jit/jit-block.c
index ea4a0bb..5c5eda8 100644
--- a/jit/jit-block.c
+++ b/jit/jit-block.c
@@ -778,7 +778,8 @@ _jit_block_clean_cfg(jit_function_t func)
                   && (block->succs[0]->flags == _JIT_EDGE_BRANCH
                       || block->succs[0]->flags == _JIT_EDGE_FALLTHRU))
                {
-                       if(is_empty_block(block))
+                       if(block->address_of == 0 &&
+                          is_empty_block(block))
                        {
                                /* Remove empty block */
 #ifdef _JIT_BLOCK_DEBUG

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

Summary of changes:
 ChangeLog       |    5 +++++
 jit/jit-block.c |    3 ++-
 2 files changed, 7 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]