aboutsummaryrefslogtreecommitdiff
path: root/dyngen.c
diff options
context:
space:
mode:
authorblueswir1 <blueswir1@c046a42c-6fe2-441c-8c8c-71466251a162>2008-02-27 17:53:27 +0000
committerblueswir1 <blueswir1@c046a42c-6fe2-441c-8c8c-71466251a162>2008-02-27 17:53:27 +0000
commit8289b279756928f6f029731e2eec119231b9e240 (patch)
treefcf0c4f567031dad1f91b4836fd5bda1dbc93703 /dyngen.c
parentb25deda7ca528d8658304bed0479c9609add061e (diff)
Preliminary Sparc TCG target
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3995 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'dyngen.c')
-rw-r--r--dyngen.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/dyngen.c b/dyngen.c
index e5122e3732..3b073c18f5 100644
--- a/dyngen.c
+++ b/dyngen.c
@@ -1615,12 +1615,14 @@ void gen_code(const char *name, host_ulong offset, host_ulong size,
error("No save at the beginning of %s", name);
}
+#if 0
/* Skip a preceeding nop, if present. */
if (p > p_start) {
skip_insn = get32((uint32_t *)(p - 0x4));
if (skip_insn == 0x01000000)
p -= 4;
}
+#endif
copy_size = p - p_start;
}