summaryrefslogtreecommitdiff
path: root/translate-all.c
diff options
context:
space:
mode:
authorFilip Navara <filip.navara@gmail.com>2010-03-26 16:06:28 +0000
committerAurelien Jarno <aurelien@aurel32.net>2010-04-08 21:05:16 +0200
commitefc0a5143400cfd8b0f46bdec433bc4d946d9872 (patch)
tree564b30732336caa60d7554bd8b96f5534e588e34 /translate-all.c
parent3e1f46eaa4a4050f18dad5646ca79a774105c296 (diff)
downloadqemu-efc0a5143400cfd8b0f46bdec433bc4d946d9872.tar.gz
qemu-efc0a5143400cfd8b0f46bdec433bc4d946d9872.tar.bz2
qemu-efc0a5143400cfd8b0f46bdec433bc4d946d9872.zip
Shrink tb_jmp_offset to two entries, the other two are never used.
Signed-Off-By: Riku Voipio <riku.voipio@nokia.com> Signed-off-by: Filip Navara <filip.navara@gmail.com> Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
Diffstat (limited to 'translate-all.c')
-rw-r--r--translate-all.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/translate-all.c b/translate-all.c
index 6f8136b62c..89fcbd63ca 100644
--- a/translate-all.c
+++ b/translate-all.c
@@ -104,10 +104,6 @@ int cpu_gen_code(CPUState *env, TranslationBlock *tb, int *gen_code_size_ptr)
#ifdef USE_DIRECT_JUMP
s->tb_jmp_offset = tb->tb_jmp_offset;
s->tb_next = NULL;
- /* the following two entries are optional (only used for string ops) */
- /* XXX: not used ? */
- tb->tb_jmp_offset[2] = 0xffff;
- tb->tb_jmp_offset[3] = 0xffff;
#else
s->tb_jmp_offset = NULL;
s->tb_next = tb->tb_next;