diff options
author | Richard Henderson <rth@twiddle.net> | 2016-02-10 05:20:16 +1100 |
---|---|---|
committer | Richard Henderson <rth@twiddle.net> | 2016-02-23 08:07:14 -0800 |
commit | 869938ae2a284fe730cb6f807ea0f9e324e0f87c (patch) | |
tree | f6426a26184bdce51368257adb7db7977777446c /tcg | |
parent | 90ce6e2644db2c47d72f364b4de57342e50bd10a (diff) |
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>
Diffstat (limited to 'tcg')
-rw-r--r-- | tcg/tcg.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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]; |