Update valgrind.h. Codereview http://codereview.chromium.org/7468002
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@8721 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
This commit is contained in:
parent
c32fa8fae7
commit
c081c550d6
2690
src/third_party/valgrind/valgrind.h
vendored
2690
src/third_party/valgrind/valgrind.h
vendored
File diff suppressed because it is too large
Load Diff
@ -67,7 +67,8 @@ void CPU::FlushICache(void* start, size_t size) {
|
|||||||
// solution is to run valgrind with --smc-check=all, but this comes at a big
|
// solution is to run valgrind with --smc-check=all, but this comes at a big
|
||||||
// performance cost. We can notify valgrind to invalidate its cache.
|
// performance cost. We can notify valgrind to invalidate its cache.
|
||||||
#ifdef VALGRIND_DISCARD_TRANSLATIONS
|
#ifdef VALGRIND_DISCARD_TRANSLATIONS
|
||||||
VALGRIND_DISCARD_TRANSLATIONS(start, size);
|
unsigned res = VALGRIND_DISCARD_TRANSLATIONS(start, size);
|
||||||
|
USE(res);
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user