OSDN Git Service

target/i386: Simplify gen_debug usage
authorRichard Henderson <richard.henderson@linaro.org>
Fri, 14 May 2021 15:13:27 +0000 (10:13 -0500)
committerRichard Henderson <richard.henderson@linaro.org>
Wed, 19 May 2021 17:17:11 +0000 (12:17 -0500)
commited3c4739e99569bc9b473c9ca72503502fdf043e
tree1fbe762c8a3a7d382d838c5a51de796b2673182b
parentb82055aece019636c8f1c1b0e199066a0270c6c1
target/i386: Simplify gen_debug usage

Both invocations pass the start of the current instruction,
which is available as s->base.pc_next.  The function sets
is_jmp, so we can eliminate a second setting.

Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Paolo Bonzini <pbonzini@redhat.com>
Message-Id: <20210514151342.384376-36-richard.henderson@linaro.org>
target/i386/tcg/translate.c