mirror of
https://github.com/yuzu-emu/unicorn.git
synced 2025-01-22 17:51:11 +00: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 Backports commit 869938ae2a284fe730cb6f807ea0f9e324e0f87c from qemu
This commit is contained in:
parent
547fabd58e
commit
9299329349
|
@ -1670,7 +1670,7 @@ static void dump_regs(TCGContext *s)
|
|||
|
||||
static void check_regs(TCGContext *s)
|
||||
{
|
||||
TCGReg reg;
|
||||
int reg;
|
||||
int k;
|
||||
TCGTemp *ts;
|
||||
char buf[64];
|
||||
|
|
Loading…
Reference in a new issue