|
From: <sv...@va...> - 2005-05-25 15:52:46
|
Author: njn
Date: 2005-05-25 16:52:39 +0100 (Wed, 25 May 2005)
New Revision: 3803
Modified:
trunk/coregrind/m_mallocfree.c
Log:
Comment-only changes: fix a typo, clarify another comment.
Modified: trunk/coregrind/m_mallocfree.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_mallocfree.c 2005-05-24 21:43:26 UTC (rev 3802)
+++ trunk/coregrind/m_mallocfree.c 2005-05-25 15:52:39 UTC (rev 3803)
@@ -66,7 +66,7 @@
=20
bszB =3D=3D pszB + 2*sizeof(SizeT) + 2*sizeof(void*) + 2*a->rz_s=
zB
=20
- Furthermore, both size fields in the block have their least-sifnifi=
cant
+ Furthermore, both size fields in the block have their least-signifi=
cant
bit set if the block is not in use, and unset if it is in use.
(The bottom 3 or so bits are always free for this because of alignm=
ent.)
A block size of zero is not possible, because a block always has at
@@ -83,7 +83,7 @@
typedef
struct {
// No fields are actually used in this struct, because a Block has
- // loads of variable sized fields and so can't be accessed
+ // many variable sized fields and so can't be accessed
// meaningfully with normal fields. So we use access functions al=
l
// the time. This struct gives us a type to use, though. Also, w=
e
// make sizeof(Block) 1 byte so that we can do arithmetic with the
|