mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-04-05 01:31:05 +00:00
Revert previous commit. It seems that whether casting to void
is valid or not depends on which system you build. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@134321 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
d01cb35804
commit
ba519f8fc9
@ -39,7 +39,7 @@ void llvm::sys::ValgrindDiscardTranslations(const void *Addr, size_t Len) {
|
||||
if (NotUnderValgrind)
|
||||
return;
|
||||
|
||||
(void)VALGRIND_DISCARD_TRANSLATIONS(Addr, Len);
|
||||
VALGRIND_DISCARD_TRANSLATIONS(Addr, Len);
|
||||
}
|
||||
|
||||
#else // !HAVE_VALGRIND_VALGRIND_H
|
||||
|
Loading…
x
Reference in New Issue
Block a user