mirror of
https://github.com/yuzu-emu/unicorn.git
synced 2025-01-03 16:35:46 +00:00
target/riscv: Quiet Coverity complains about vamo*
Backports eabfeb0cb9e054108b3e29a3a85363b3d80d9c38
This commit is contained in:
parent
cd956f5aa6
commit
fdfa52f424
|
@ -743,6 +743,7 @@ static bool amo_op(DisasContext *s, arg_rwdvm *a, uint8_t seq)
|
||||||
g_assert_not_reached();
|
g_assert_not_reached();
|
||||||
#endif
|
#endif
|
||||||
} else {
|
} else {
|
||||||
|
assert(seq < ARRAY_SIZE(fnsw));
|
||||||
fn = fnsw[seq];
|
fn = fnsw[seq];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue