target/i386: Remove MemOp argument to gen_op_j*_ecx
authorRichard Henderson <richard.henderson@linaro.org>
Sat, 1 Oct 2022 14:09:30 +0000 (07:09 -0700)
committerPaolo Bonzini <pbonzini@redhat.com>
Tue, 11 Oct 2022 07:36:01 +0000 (09:36 +0200)
commit0ebacb5d1e6c73365dd9d8435d4014fe0e326308
tree3f7e16edf8818f0a67066c8cf2aebc8ed4256555
parent5f7ec6efcc4fb5cc4cd8e8f2d61504d7909dc5b9
target/i386: Remove MemOp argument to gen_op_j*_ecx

These functions are always passed aflag, so we might as well
read it from DisasContext directly.  While we're at it, use
a common subroutine for these two functions.

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