asan: correct non-temporal prefetch for memory allocator

llvm-svn: 172522
This commit is contained in:
Dmitry Vyukov 2013-01-15 09:03:20 +00:00
parent 45a698eb58
commit 2854326db6
1 changed files with 1 additions and 1 deletions

View File

@ -52,7 +52,7 @@ using namespace __sanitizer; // NOLINT
# define UNLIKELY(x) __builtin_expect(!!(x), 0)
# define UNUSED __attribute__((unused))
# define USED __attribute__((used))
# define PREFETCH(x) __builtin_prefetch(x)
# define PREFETCH(x) __asm__("prefetchnta (%0)" : : "r" (x))
#endif // _MSC_VER
#if defined(_WIN32)