Improve performance of smc-checks substantially, by:
(1) allowing translations to chase across BB boundaries, as in the
non-smc-check case
(2) on 64-bit targets, do the checksumming with 64-bit loads
instead of 32-bit ones.
(valgrind-side change, to match vex r2070)
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11495 a5019735-40e9-0310-863c-91ae7b9d1cf9
diff --git a/coregrind/m_translate.c b/coregrind/m_translate.c
index 41a2e71..87b3cae 100644
--- a/coregrind/m_translate.c
+++ b/coregrind/m_translate.c
@@ -752,10 +752,6 @@
if (!translations_allowable_from_seg(seg))
goto dontchase;
- /* Destination requires a self-check? */
- if (self_check_required(seg, closure->tid))
- goto dontchase;
-
/* Destination is redirected? */
if (addr != VG_(redir_do_lookup)(addr, NULL))
goto dontchase;