]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
s390: Fix a confusing variable name.
authorFlorian Krohm <flo2030@eich-krohm.de>
Fri, 12 Sep 2025 14:40:36 +0000 (14:40 +0000)
committerFlorian Krohm <flo2030@eich-krohm.de>
Fri, 12 Sep 2025 14:40:36 +0000 (14:40 +0000)
The mask is 8 bit wide here.

VEX/priv/guest_s390_helpers.c

index 13ba153e01a925a8588f27d031a9775bc8defe48..d8aa191cacd96cdb7703e501b5b914252d183765 100644 (file)
@@ -2025,13 +2025,13 @@ guest_s390x_spechelper(const HChar *function_name, IRExpr **args,
          cc_dep1 = the value to be tested, ANDed with the mask
          cc_dep2 = an 8-bit mask; expected to be a constant here */
       if (cc_op == S390_CC_OP_TEST_UNDER_MASK_8) {
-         ULong mask16;
+         ULong mask8;
 
          if (! isC64(cc_dep2)) goto missed;
 
-         mask16 = cc_dep2->Iex.Const.con->Ico.U64;
+         mask8 = cc_dep2->Iex.Const.con->Ico.U64;
 
-         if (mask16 == 0) {   /* cc == 0 */
+         if (mask8 == 0) {   /* cc == 0 */
             if (cond & 0x8) return mkU32(1);
             return mkU32(0);
          }