summaryrefslogtreecommitdiffstats
path: root/tcg
diff options
context:
space:
mode:
authorRichard Henderson <rth@twiddle.net>2016-02-10 05:20:16 +1100
committerTimothy Pearson <tpearson@raptorengineering.com>2019-11-29 19:45:31 -0600
commita7a103a946ceb1e98f7298a4e173ae12f61bdbe5 (patch)
tree7939ec4be93ebee44a120200d534015d1b118af0 /tcg
parentaa0cb7816ef6f243139ee5bb805f0bf1d165f684 (diff)
downloadhqemu-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.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tcg/tcg.c b/tcg/tcg.c
index 01ba77e..9b8afd0 100644
--- a/tcg/tcg.c
+++ b/tcg/tcg.c
@@ -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];
OpenPOWER on IntegriCloud