]> git.ipfire.org Git - thirdparty/valgrind.git/commit
guest_ppc_toIR: Call vpanic not just vex_printf when the impossible happens
authorMark Wielaard <mark@klomp.org>
Mon, 8 Jun 2020 11:27:28 +0000 (13:27 +0200)
committerMark Wielaard <mark@klomp.org>
Mon, 8 Jun 2020 11:34:11 +0000 (13:34 +0200)
commit4285dff54d09a48e78c138fba100bca2a481b471
tree3c586a9b462ea803042b99d0dee9a29391279625
parent79818bf9a59c44576f99cfe32991eeed896bd51d
guest_ppc_toIR: Call vpanic not just vex_printf when the impossible happens

is_Zero_Vector, is_Denorm_Vector, is_NaN_Vector and negate_Vector
only handle an Ity_I32 element size. And that is also what they are
currently being called with. In case they would ever be called with
a different element_size they would simply vex_printf and continue
(producing bogus/impossible results). To make this a bit more future
proof (and to silence a static analyzer) vpanic instead.
VEX/priv/guest_ppc_toIR.c