diff options
author | Richard Henderson <rth@twiddle.net> | 2016-02-10 05:20:16 +1100 |
---|---|---|
committer | Timothy Pearson <tpearson@raptorengineering.com> | 2019-11-29 19:45:31 -0600 |
commit | a7a103a946ceb1e98f7298a4e173ae12f61bdbe5 (patch) | |
tree | 7939ec4be93ebee44a120200d534015d1b118af0 /tcg | |
parent | aa0cb7816ef6f243139ee5bb805f0bf1d165f684 (diff) | |
download | hqemu-a7a103a946ceb1e98f7298a4e173ae12f61bdbe5.zip hqemu-a7a103a946ceb1e98f7298a4e173ae12f61bdbe5.tar.gz |
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
@@ -1801,7 +1801,7 @@ static void dump_regs(TCGContext *s) static void check_regs(TCGContext *s) { - TCGReg reg; + int reg; int k; TCGTemp *ts; char buf[64]; |