[llvm-commits] [llvm] r134321 - /llvm/trunk/lib/Support/Valgrind.cpp
Duncan Sands
baldrick at free.fr
Sat Jul 2 06:14:22 PDT 2011
Author: baldrick
Date: Sat Jul 2 08:14:22 2011
New Revision: 134321
URL: http://llvm.org/viewvc/llvm-project?rev=134321&view=rev
Log:
Revert previous commit. It seems that whether casting to void
is valid or not depends on which system you build.
Modified:
llvm/trunk/lib/Support/Valgrind.cpp
Modified: llvm/trunk/lib/Support/Valgrind.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Support/Valgrind.cpp?rev=134321&r1=134320&r2=134321&view=diff
==============================================================================
--- llvm/trunk/lib/Support/Valgrind.cpp (original)
+++ llvm/trunk/lib/Support/Valgrind.cpp Sat Jul 2 08:14:22 2011
@@ -39,7 +39,7 @@
if (NotUnderValgrind)
return;
- (void)VALGRIND_DISCARD_TRANSLATIONS(Addr, Len);
+ VALGRIND_DISCARD_TRANSLATIONS(Addr, Len);
}
#else // !HAVE_VALGRIND_VALGRIND_H
More information about the llvm-commits
mailing list