Skip to content

Commit

Permalink
target/i386: Reduce DisasContext.override to int8_t
Browse files Browse the repository at this point in the history
The range of values is -1 (none) to 5 (R_GS).

Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Paolo Bonzini <pbonzini@redhat.com>
Message-Id: <20210514151342.384376-22-richard.henderson@linaro.org>
  • Loading branch information
rth7680 committed May 19, 2021
1 parent c6ad6f4 commit c651f3a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion target/i386/tcg/translate.c
Expand Up @@ -77,7 +77,7 @@ typedef struct DisasContext {
DisasContextBase base;

/* current insn context */
int override; /* -1 if no override */
int8_t override; /* -1 if no override, else R_CS, R_DS, etc */
int prefix;
MemOp aflag;
MemOp dflag;
Expand Down

0 comments on commit c651f3a

Please sign in to comment.