aboutsummaryrefslogtreecommitdiff
path: root/target-i386
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2010-02-04 14:31:49 +0100
committerBlue Swirl <blauwirbel@gmail.com>2010-02-05 18:13:14 +0000
commit5e398dd2f075c23b54c913d71632b2deef8661a8 (patch)
tree91b42d586b93f2424dc92f787e92b09e528a852c /target-i386
parenta484156557b7595d93facf33089f5bab98d0d92f (diff)
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')
-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);