|
From: <sv...@va...> - 2006-08-16 15:07:41
|
Author: sewardj
Date: 2006-08-16 16:06:53 +0100 (Wed, 16 Aug 2006)
New Revision: 6004
Log:
Extra paranoia that should really have been committed in r6003.
Modified:
trunk/coregrind/m_aspacemgr/aspacemgr.c
Modified: trunk/coregrind/m_aspacemgr/aspacemgr.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_aspacemgr/aspacemgr.c 2006-08-16 14:22:29 UTC (rev =
6003)
+++ trunk/coregrind/m_aspacemgr/aspacemgr.c 2006-08-16 15:06:53 UTC (rev =
6004)
@@ -2992,6 +2992,8 @@
if (sres.isError) {
AM_SANITY_CHECK;
return False;
+ } else {
+ aspacem_assert(sres.val =3D=3D new_addr);
}
=20
*need_discard =3D any_Ts_in_range( old_addr, old_len )
|