diff options
Diffstat (limited to 'mps/code/buffer.c')
| -rw-r--r-- | mps/code/buffer.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/mps/code/buffer.c b/mps/code/buffer.c index f911a28c6b9..1731b2d9826 100644 --- a/mps/code/buffer.c +++ b/mps/code/buffer.c | |||
| @@ -223,7 +223,7 @@ static Res BufferInitV(Buffer buffer, BufferClass class, | |||
| 223 | buffer->alignment = pool->alignment; /* .trans.mod */ | 223 | buffer->alignment = pool->alignment; /* .trans.mod */ |
| 224 | buffer->base = (Addr)0; | 224 | buffer->base = (Addr)0; |
| 225 | buffer->initAtFlip = (Addr)0; | 225 | buffer->initAtFlip = (Addr)0; |
| 226 | /* In the next three assignements we really mean zero, not NULL, because | 226 | /* In the next three assignments we really mean zero, not NULL, because |
| 227 | the bit pattern is compared. It's pretty unlikely we'll encounter | 227 | the bit pattern is compared. It's pretty unlikely we'll encounter |
| 228 | a platform where this makes a difference. */ | 228 | a platform where this makes a difference. */ |
| 229 | buffer->ap_s.init = (mps_addr_t)0; | 229 | buffer->ap_s.init = (mps_addr_t)0; |
| @@ -861,7 +861,7 @@ Bool BufferTrip(Buffer buffer, Addr p, Size size) | |||
| 861 | return FALSE; | 861 | return FALSE; |
| 862 | } | 862 | } |
| 863 | 863 | ||
| 864 | /* Emit event including class if loggged */ | 864 | /* Emit event including class if logged */ |
| 865 | if (buffer->mode & BufferModeLOGGED) { | 865 | if (buffer->mode & BufferModeLOGGED) { |
| 866 | Bool b; | 866 | Bool b; |
| 867 | Format format; | 867 | Format format; |
| @@ -1170,7 +1170,7 @@ static void bufferNoSetRankSet (Buffer buffer, RankSet rankset) | |||
| 1170 | 1170 | ||
| 1171 | /* bufferNoReassignSeg -- basic BufferReassignSeg method | 1171 | /* bufferNoReassignSeg -- basic BufferReassignSeg method |
| 1172 | * | 1172 | * |
| 1173 | * .noseg: basic buffers don't support attachment to sements, so this | 1173 | * .noseg: basic buffers don't support attachment to segments, so this |
| 1174 | * method should not be called. */ | 1174 | * method should not be called. */ |
| 1175 | 1175 | ||
| 1176 | static void bufferNoReassignSeg (Buffer buffer, Seg seg) | 1176 | static void bufferNoReassignSeg (Buffer buffer, Seg seg) |