]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
This commit fixes a redundant #if defined line. The define
authorCarl Love <cel@us.ibm.com>
Wed, 17 Dec 2014 21:41:58 +0000 (21:41 +0000)
committerCarl Love <cel@us.ibm.com>
Wed, 17 Dec 2014 21:41:58 +0000 (21:41 +0000)
VG_PLAT_USES_PPCTOC is only true for PPC64 big endian, do not
need to quailify the #if statement condition of VG_PLAT_USES_PPCTOC
with !VGP_ppc64le_linux.

There is no associated bugzilla.  The fix is in response to an
email message.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@14822

coregrind/m_translate.c

index 225113859ab6e18db5bdd220ea16d3a81d70ab93..afbbe52034d96b551de0d9ef446636a5e0d29ce0 100644 (file)
@@ -1326,7 +1326,7 @@ Bool mk_preamble__set_NRADDR_to_nraddr ( void* closureV, IRSB* bb )
    Int offB_GPR25 = offsetof(VexGuestMIPS64State, guest_r25);
    addStmtToIRSB(bb, IRStmt_Put(offB_GPR25, mkU64(closure->readdr)));
 #  endif
-#  if defined(VG_PLAT_USES_PPCTOC) && !defined(VGP_ppc64le_linux)
+#  if defined(VG_PLAT_USES_PPCTOC)
    addStmtToIRSB( 
       bb,
       IRStmt_Put(