qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: liguang <lig.fnst@cn.fujitsu.com>
To: qemu-devel@nongnu.org
Cc: liguang <lig.fnst@cn.fujitsu.com>
Subject: [Qemu-devel] [PATCH 05/16] target-alpha/translate: mininally change gen_intermediate_code_internal
Date: Thu, 11 Apr 2013 11:41:51 +0800	[thread overview]
Message-ID: <1365651722-11241-5-git-send-email-lig.fnst@cn.fujitsu.com> (raw)
In-Reply-To: <1365651722-11241-1-git-send-email-lig.fnst@cn.fujitsu.com>

Signed-off-by: liguang <lig.fnst@cn.fujitsu.com>
---
 target-alpha/translate.c |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/target-alpha/translate.c b/target-alpha/translate.c
index 4db16db..4b4320a 100644
--- a/target-alpha/translate.c
+++ b/target-alpha/translate.c
@@ -3425,9 +3425,9 @@ static inline void gen_intermediate_code_internal(CPUAlphaState *env,
         if (search_pc) {
             j = tcg_ctx.gen_opc_ptr - tcg_ctx.gen_opc_buf;
             if (lj < j) {
-                lj++;
-                while (lj < j)
-                    tcg_ctx.gen_opc_instr_start[lj++] = 0;
+                while (++lj < j) {
+                    tcg_ctx.gen_opc_instr_start[lj] = 0;
+                }
             }
             tcg_ctx.gen_opc_pc[lj] = ctx.pc;
             tcg_ctx.gen_opc_instr_start[lj] = 1;
-- 
1.7.2.5

  parent reply	other threads:[~2013-04-11  3:43 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-04-11  3:41 [Qemu-devel] [PATCH 01/16] target-i386/translate: mininally change gen_intermediate_code_internal liguang
2013-04-11  3:41 ` [Qemu-devel] [PATCH 02/16] target-lm32/translate: " liguang
2013-04-11  3:41 ` [Qemu-devel] [PATCH 03/16] target-arm/translate: " liguang
2013-04-11  3:41 ` [Qemu-devel] [PATCH 04/16] target-mips/translate: " liguang
2013-04-11  3:41 ` liguang [this message]
2013-04-11  3:41 ` [Qemu-devel] [PATCH 06/16] target-cris/translate: " liguang
2013-04-11  3:41 ` [Qemu-devel] [PATCH 07/16] target-m68k/translate: " liguang
2013-04-11  3:41 ` [Qemu-devel] [PATCH 08/16] target-microblaze/translate: mininally change gen_intermediate_code_interna liguang
2013-04-11  3:41 ` [Qemu-devel] [PATCH 09/16] target-moxie/translate: mininally change gen_intermediate_code_internal liguang
2013-04-11  3:41 ` [Qemu-devel] [PATCH 10/16] target-openrisc/translate: " liguang
2013-04-11  3:41 ` [Qemu-devel] [PATCH 11/16] target-ppc/translate: mininally change gen_intermediate_code_internal Signed-off-by: liguang <lig.fnst@cn.fujitsu.com> liguang
2013-04-11  3:41 ` [Qemu-devel] [PATCH 12/16] target-s390/translate: mininally change gen_intermediate_code_internal liguang
2013-04-11  3:41 ` [Qemu-devel] [PATCH 13/16] target-sh4/translate: " liguang
2013-04-11  3:42 ` [Qemu-devel] [PATCH 14/16] target-sparc/translate: " liguang
2013-04-11  3:42 ` [Qemu-devel] [PATCH 15/16] target-unicore32/translate: " liguang
2013-04-11  3:42 ` [Qemu-devel] [PATCH 16/16] target-xtensa/translate: " liguang

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1365651722-11241-5-git-send-email-lig.fnst@cn.fujitsu.com \
    --to=lig.fnst@cn.fujitsu.com \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).