Skip to content

Commit

Permalink
tcg: Work around clang bug wrt enum ranges, part 2
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
rth7680 committed Feb 23, 2016
1 parent 90ce6e2 commit 869938a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tcg/tcg.c
Expand Up @@ -1602,7 +1602,7 @@ static void dump_regs(TCGContext *s)

static void check_regs(TCGContext *s)
{
TCGReg reg;
int reg;
int k;
TCGTemp *ts;
char buf[64];
Expand Down

0 comments on commit 869938a

Please sign in to comment.