]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
Avoid compiler warning.
authorFlorian Krohm <florian@eich-krohm.de>
Thu, 13 Sep 2012 15:58:01 +0000 (15:58 +0000)
committerFlorian Krohm <florian@eich-krohm.de>
Thu, 13 Sep 2012 15:58:01 +0000 (15:58 +0000)
git-svn-id: svn://svn.valgrind.org/vex/trunk@2528

VEX/priv/guest_s390_helpers.c

index 9eb0a85e289ddaac9326ce0790caacf7942101f8..247d3abbed79b7cfa93aac77a66cce4a8fd2d8ca 100644 (file)
@@ -873,6 +873,7 @@ ULong s390_do_ecag(ULong op2addr) { return 0; }
 /*------------------------------------------------------------*/
 
 /* Convert an IRRoundingMode value to s390_round_t */
+#if defined(VGA_s390x)
 static s390_round_t
 decode_bfp_rounding_mode(UInt irrm)
 {
@@ -884,6 +885,7 @@ decode_bfp_rounding_mode(UInt irrm)
    }
    vpanic("decode_bfp_rounding_mode");
 }
+#endif
 
 
 #define S390_CC_FOR_BINARY(opcode,cc_dep1,cc_dep2) \