summaryrefslogtreecommitdiffstats
path: root/target-i386/translate.c
diff options
context:
space:
mode:
authorPaolo Bonzini2010-02-04 14:31:49 +0100
committerBlue Swirl2010-02-05 19:13:14 +0100
commit5e398dd2f075c23b54c913d71632b2deef8661a8 (patch)
tree91b42d586b93f2424dc92f787e92b09e528a852c /target-i386/translate.c
parentexec.c: dead assignments (diff)
downloadqemu-5e398dd2f075c23b54c913d71632b2deef8661a8.tar.gz
qemu-5e398dd2f075c23b54c913d71632b2deef8661a8.tar.xz
qemu-5e398dd2f075c23b54c913d71632b2deef8661a8.zip
remove two dead assignments in target-i386/translate.c
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com> Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Diffstat (limited to 'target-i386/translate.c')
-rw-r--r--target-i386/translate.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/target-i386/translate.c b/target-i386/translate.c
index 8078112054..a597e80b9f 100644
--- a/target-i386/translate.c
+++ b/target-i386/translate.c
@@ -4692,8 +4692,6 @@ static target_ulong disas_insn(DisasContext *s, target_ulong pc_start)
ot = dflag + OT_WORD;
modrm = ldub_code(s->pc++);
- mod = (modrm >> 6) & 3;
- rm = (modrm & 7) | REX_B(s);
reg = ((modrm >> 3) & 7) | rex_r;
gen_ldst_modrm(s, modrm, ot, OR_TMP0, 0);