target-i386: Avoid repeated calls to the bnd_jmp helper
authorPaolo Bonzini <pbonzini@redhat.com>
Tue, 1 Mar 2016 15:12:25 +0000 (16:12 +0100)
committerRichard Henderson <rth@twiddle.net>
Mon, 14 Mar 2016 17:45:41 +0000 (10:45 -0700)
commit8b33e82b863d1c6fce7e69a41f6c96a8e15b73fb
treefb7d62b26e701975843f664848e67e9fb7a9472b
parent618a5a8bc52ba0f2ecbb3dffd01e657f4d841f75
target-i386: Avoid repeated calls to the bnd_jmp helper

Two flags were tested the wrong way.

Tested-by: Hervé Poussineau <hpoussin@reactos.org>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Message-Id: <1456845145-18891-1-git-send-email-pbonzini@redhat.com>
Signed-off-by: Richard Henderson <rth@twiddle.net>
[rth: Fixed enable test as well.]
target-i386/translate.c