]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
No idea what happened here. Fixed as obvious.
authorFlorian Krohm <florian@eich-krohm.de>
Sat, 14 Apr 2012 16:22:26 +0000 (16:22 +0000)
committerFlorian Krohm <florian@eich-krohm.de>
Sat, 14 Apr 2012 16:22:26 +0000 (16:22 +0000)
git-svn-id: svn://svn.valgrind.org/vex/branches/TCHAIN@2284

VEX/priv/host_s390_defs.c

index fb1ef6efae12727bb458197cd1a7642464698115..30a2bdbe57f0b426f14deb6ef2bc815ae54c2863 100644 (file)
@@ -7864,7 +7864,7 @@ unchainXDirect_S390(void *place_to_unchain,
    */
    UChar *p = place_to_unchain;
  
-   if (p[0] == 0xc0 && p[1] == (0x04 | S390_REGNO_TCHAIN_SCRATCH)) {
+   if (p[0] == 0xc0 && p[1] == ((S390_CC_ALWAYS << 4) | 0x04)) {
       /* Looks like the short form */
       Int num_hw = *(Int *)&p[2];
       Int delta = 2 *num_hw;