mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-04 16:23:55 -06:00
tcg: Work around clang bug wrt enum ranges, part 2
A previous patch patch changed the type of REG from int to enum TCGReg, which provokes the following bug in clang: https://llvm.org/bugs/show_bug.cgi?id=16154 Signed-off-by: Richard Henderson <rth@twiddle.net>
This commit is contained in:
parent
90ce6e2644
commit
869938ae2a
1 changed files with 1 additions and 1 deletions
|
@ -1602,7 +1602,7 @@ static void dump_regs(TCGContext *s)
|
||||||
|
|
||||||
static void check_regs(TCGContext *s)
|
static void check_regs(TCGContext *s)
|
||||||
{
|
{
|
||||||
TCGReg reg;
|
int reg;
|
||||||
int k;
|
int k;
|
||||||
TCGTemp *ts;
|
TCGTemp *ts;
|
||||||
char buf[64];
|
char buf[64];
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue