svn commit: r208257 - projects/clangbsd/contrib/llvm/lib/System

Roman Divacky rdivacky at FreeBSD.org
Tue May 18 09:15:27 UTC 2010


Author: rdivacky
Date: Tue May 18 09:15:26 2010
New Revision: 208257
URL: http://svn.freebsd.org/changeset/base/208257

Log:
  Follow up on r208038.

Modified:
  projects/clangbsd/contrib/llvm/lib/System/Memory.cpp

Modified: projects/clangbsd/contrib/llvm/lib/System/Memory.cpp
==============================================================================
--- projects/clangbsd/contrib/llvm/lib/System/Memory.cpp	Tue May 18 08:55:23 2010	(r208256)
+++ projects/clangbsd/contrib/llvm/lib/System/Memory.cpp	Tue May 18 09:15:26 2010	(r208257)
@@ -61,7 +61,7 @@ void llvm::sys::Memory::InvalidateInstru
   for (intptr_t Line = StartLine; Line < EndLine; Line += LineSize)
     asm volatile("icbi 0, %0" : : "r"(Line));
   asm volatile("isync");
-#  elif defined(__arm__) && defined(__GNUC__)
+#  elif defined(__arm__) && defined(__GNUC__) && !defined(__FreeBSD__)
   // FIXME: Can we safely always call this for __GNUC__ everywhere?
   char *Start = (char*) Addr;
   char *End = Start + Len;


More information about the svn-src-projects mailing list