From: Florian Krohm Date: Sat, 14 Apr 2012 16:22:26 +0000 (+0000) Subject: No idea what happened here. Fixed as obvious. X-Git-Tag: svn/VALGRIND_3_8_1^2~182^2~11 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=dc19acfce6da116249feea86e5bf9dfd514121fb;p=thirdparty%2Fvalgrind.git No idea what happened here. Fixed as obvious. git-svn-id: svn://svn.valgrind.org/vex/branches/TCHAIN@2284 --- diff --git a/VEX/priv/host_s390_defs.c b/VEX/priv/host_s390_defs.c index fb1ef6efae..30a2bdbe57 100644 --- a/VEX/priv/host_s390_defs.c +++ b/VEX/priv/host_s390_defs.c @@ -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;