mirror of
https://github.com/yuzu-emu/unicorn.git
synced 2025-02-25 20:36:56 +00:00
target/arm: Mark disas_set_insn_syndrome inline
If it isn't used when translate.h is included, we'll get a compiler Werror. Backports commit cf96a682481bbfb1e6b53d2436c3d51563d5dff8 from qemu
This commit is contained in:
parent
aeee985cc9
commit
ca9a411074
|
@ -105,7 +105,7 @@ static inline int default_exception_el(DisasContext *s)
|
|||
? 3 : MAX(1, s->current_el);
|
||||
}
|
||||
|
||||
static void disas_set_insn_syndrome(DisasContext *s, uint32_t syn)
|
||||
static inline void disas_set_insn_syndrome(DisasContext *s, uint32_t syn)
|
||||
{
|
||||
/* We don't need to save all of the syndrome so we mask and shift
|
||||
* out unneeded bits to help the sleb128 encoder do a better job.
|
||||
|
|
Loading…
Reference in a new issue