git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@8721 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
This commit is contained in:
whesse@chromium.org 2011-07-22 11:22:29 +00:00
parent c32fa8fae7
commit c081c550d6
2 changed files with 1401 additions and 1292 deletions

File diff suppressed because it is too large Load Diff

View File

@ -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
// performance cost. We can notify valgrind to invalidate its cache.
#ifdef VALGRIND_DISCARD_TRANSLATIONS
VALGRIND_DISCARD_TRANSLATIONS(start, size);
unsigned res = VALGRIND_DISCARD_TRANSLATIONS(start, size);
USE(res);
#endif
}