|
From: <sv...@va...> - 2005-12-06 17:27:56
|
Author: njn
Date: 2005-12-06 17:27:44 +0000 (Tue, 06 Dec 2005)
New Revision: 5296
Log:
Comment wibbles.
Modified:
branches/COMPVBITS/memcheck/mc_main.c
Modified: branches/COMPVBITS/memcheck/mc_main.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
--- branches/COMPVBITS/memcheck/mc_main.c 2005-12-06 16:09:52 UTC (rev 52=
95)
+++ branches/COMPVBITS/memcheck/mc_main.c 2005-12-06 17:27:44 UTC (rev 52=
96)
@@ -482,7 +482,7 @@
return 0x3 & vabits32; // mask out the rest
}
=20
-// XXX: note that these are only used in slow cases. The fast cases do
+// Note that these two are only used in slow cases. The fast cases do
// clever things like combine the auxmap check (in
// get_secmap_{read,writ}able) with alignment checks.
=20
@@ -500,7 +500,6 @@
SecMap* sm =3D get_secmap_readable(a);
UWord sm_off =3D SM_OFF(a);
UChar vabits32 =3D sm->vabits32[sm_off];
-// VG_(printf)("get: %p\n", &(sm->vabits32[sm_off]));
return extract_vabits8_from_vabits32(a, vabits32);
}
=20
@@ -601,7 +600,6 @@
}
set_vabits8(ai, vabits8);
} else {
- // XXX: is this right?
// Unaddressable! Do nothing -- when writing to unaddressable
// memory it acts as a black hole, and the V bits can never be =
seen
// again. So we don't have to write them at all.
|