Date: Wed, 9 Jun 2010 19:08:18 +0000 (UTC) From: Roman Divacky <rdivacky@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r208958 - head/contrib/llvm/lib/System Message-ID: <201006091908.o59J8I9u013292@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: rdivacky Date: Wed Jun 9 19:08:17 2010 New Revision: 208958 URL: http://svn.freebsd.org/changeset/base/208958 Log: Comment out piece of code using __clear_cache() which FreeBSD does not have. This is only used for JIT on ARM so it's harmless. Approved by: ed (mentor) Modified: head/contrib/llvm/lib/System/Memory.cpp Modified: head/contrib/llvm/lib/System/Memory.cpp ============================================================================== --- head/contrib/llvm/lib/System/Memory.cpp Wed Jun 9 18:59:07 2010 (r208957) +++ head/contrib/llvm/lib/System/Memory.cpp Wed Jun 9 19:08:17 2010 (r208958) @@ -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;
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201006091908.o59J8I9u013292>