]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
Correct vpanic message in guest_arm64_toIR.c for mkABSF/mkSQRTF.
authorMark Wielaard <mark@klomp.org>
Mon, 31 Aug 2020 10:25:43 +0000 (12:25 +0200)
committerMark Wielaard <mark@klomp.org>
Mon, 31 Aug 2020 10:25:54 +0000 (12:25 +0200)
I didn't actually see these vpanics, so they might never trigger. But
both would vpanic as if for mkNEGF, which is clearly wrong and confusing.

VEX/priv/guest_arm64_toIR.c

index c65bbbad218720a047027bd00b22d8e5d4869349..35b1b431be412941bf8296bb5a0354fb974eab50 100644 (file)
@@ -568,7 +568,7 @@ static IROp mkABSF ( IRType ty ) {
    switch (ty) {
       case Ity_F32: return Iop_AbsF32;
       case Ity_F64: return Iop_AbsF64;
-      default: vpanic("mkNEGF");
+      default: vpanic("mkABSF");
    }
 }
 
@@ -576,7 +576,7 @@ static IROp mkSQRTF ( IRType ty ) {
    switch (ty) {
       case Ity_F32: return Iop_SqrtF32;
       case Ity_F64: return Iop_SqrtF64;
-      default: vpanic("mkNEGF");
+      default: vpanic("mkSQRTF");
    }
 }