diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2024-04-10 12:29:52 +0200 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2024-05-07 08:51:43 +0200 |
commit | dd17322be7c6aa07ba792d661f1920c717ad5c94 (patch) | |
tree | 1bf545b9d72c896ee61b6320e558e28d64ae7b86 /backends/cryptodev.c | |
parent | bbba9594e84f60707558cce9cd3e4d70b9bd0fec (diff) | |
download | qemu-dd17322be7c6aa07ba792d661f1920c717ad5c94.zip qemu-dd17322be7c6aa07ba792d661f1920c717ad5c94.tar.gz qemu-dd17322be7c6aa07ba792d661f1920c717ad5c94.tar.bz2 |
target/i386: pull cc_op update to callers of gen_jmp_rel{,_csize}
gen_update_cc_op must be called before control flow splits. Doing it
in gen_jmp_rel{,_csize} may hide bugs, instead assert that cc_op is
clean---even if that means a few more calls to gen_update_cc_op().
With this new invariant, setting cc_op to CC_OP_DYNAMIC is unnecessary
since the caller should have done it.
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'backends/cryptodev.c')
0 files changed, 0 insertions, 0 deletions