|
From: <sv...@va...> - 2005-06-21 19:03:10
|
Author: sewardj
Date: 2005-06-21 13:52:38 +0100 (Tue, 21 Jun 2005)
New Revision: 3988
Log:
Fix bug causing TINVALs to throw away huge numbers of translations
unnecessarily.
Modified:
trunk/coregrind/m_scheduler/scheduler.c
Modified: trunk/coregrind/m_scheduler/scheduler.c
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/coregrind/m_scheduler/scheduler.c 2005-06-21 10:11:36 UTC (rev =
3987)
+++ trunk/coregrind/m_scheduler/scheduler.c 2005-06-21 12:52:38 UTC (rev =
3988)
@@ -762,13 +762,12 @@
break;
=20
case VEX_TRC_JMP_TINVAL:
-#if defined(VGA_ppc32)
VG_(discard_translations)(
(Addr64)VG_(threads)[tid].arch.vex.guest_TISTART,
- VG_(threads)[tid].arch.vex.guest_TISTART );
+ VG_(threads)[tid].arch.vex.guest_TILEN
+ );
if (0)
VG_(printf)("dump translations done.\n");
-#endif
break;
=20
default:=20
|