Index: src/x64/cpu-x64.cc |
=================================================================== |
--- src/x64/cpu-x64.cc (revision 9666) |
+++ src/x64/cpu-x64.cc (working copy) |
@@ -67,7 +67,8 @@ |
// 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 |
} |