diff options
author | Richard Henderson <richard.henderson@linaro.org> | 2021-05-14 10:13:18 -0500 |
---|---|---|
committer | Richard Henderson <richard.henderson@linaro.org> | 2021-05-19 12:15:47 -0500 |
commit | 305d08e51260b7d3a6a20c9399ba49f2235c2d25 (patch) | |
tree | a10e3a4b15c4a0d264c3cd127859f53baec67d73 | |
parent | c1de1a1ace8812119aa3184932db25db60bb27dd (diff) | |
download | qemu-305d08e51260b7d3a6a20c9399ba49f2235c2d25.zip qemu-305d08e51260b7d3a6a20c9399ba49f2235c2d25.tar.gz qemu-305d08e51260b7d3a6a20c9399ba49f2235c2d25.tar.bz2 |
target/i386: Reduce DisasContext jmp_opt, repz_opt to bool
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Paolo Bonzini <pbonzini@redhat.com>
Message-Id: <20210514151342.384376-27-richard.henderson@linaro.org>
-rw-r--r-- | target/i386/tcg/translate.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/target/i386/tcg/translate.c b/target/i386/tcg/translate.c index 3f6214c..b9b94f0 100644 --- a/target/i386/tcg/translate.c +++ b/target/i386/tcg/translate.c @@ -101,8 +101,8 @@ typedef struct DisasContext { uint8_t vex_v; /* vex vvvv register, without 1's complement. */ CCOp cc_op; /* current CC operation */ bool cc_op_dirty; - int jmp_opt; /* use direct block chaining for direct jumps */ - int repz_opt; /* optimize jumps within repz instructions */ + bool jmp_opt; /* use direct block chaining for direct jumps */ + bool repz_opt; /* optimize jumps within repz instructions */ int mem_index; /* select memory access functions */ uint32_t flags; /* all execution flags */ uint8_t popl_esp_hack; /* for correct popl with esp base handling */ |