target-i386: eliminate dead code and hoist common code out of "if"
commitae67dc72e4f19238941894227d96b6201d71a70a
authorPaolo Bonzini <pbonzini@redhat.com>
Wed, 12 Nov 2014 11:04:56 +0000 (12 12:04 +0100)
committerPaolo Bonzini <pbonzini@redhat.com>
Wed, 12 Nov 2014 11:43:45 +0000 (12 12:43 +0100)
treeb74082ad9a1fe602048e6355951f5f03060813f4
parentf69c11158509e91c29f01e48ace8af227827411a
target-i386: eliminate dead code and hoist common code out of "if"

ist != 0 is checked in the first "if", so it cannot be true in
the "else if" part.  While at it, simplify the code and move
the ESP alignment out of the conditionals.

Reported by Coverity.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
target-i386/seg_helper.c