aboutsummaryrefslogtreecommitdiffstats
path: root/mps/code/root.c
diff options
context:
space:
mode:
authorNick Barnes2001-12-17 15:18:17 +0000
committerNick Barnes2001-12-17 15:18:17 +0000
commitdb4b3a6fa51ea452f62ed64612da5466d7bc292e (patch)
tree4401c0c97d4df2e1c48ad06f263c27199e92d5dc /mps/code/root.c
parentc864931fe4271b6592ca4a76ce856938d263c74a (diff)
downloademacs-db4b3a6fa51ea452f62ed64612da5466d7bc292e.tar.gz
emacs-db4b3a6fa51ea452f62ed64612da5466d7bc292e.zip
Remove trailing whitespace.
Copied from Perforce Change: 25309 ServerID: perforce.ravenbrook.com
Diffstat (limited to 'mps/code/root.c')
-rw-r--r--mps/code/root.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/mps/code/root.c b/mps/code/root.c
index 7992a44edd7..b39154fe437 100644
--- a/mps/code/root.c
+++ b/mps/code/root.c
@@ -96,7 +96,7 @@ Bool RootModeCheck(RootMode mode)
96Bool RootCheck(Root root) 96Bool RootCheck(Root root)
97{ 97{
98 CHECKS(Root, root); 98 CHECKS(Root, root);
99 CHECKU(Arena, root->arena); 99 CHECKU(Arena, root->arena);
100 CHECKL(root->serial < ArenaGlobals(root->arena)->rootSerial); 100 CHECKL(root->serial < ArenaGlobals(root->arena)->rootSerial);
101 CHECKL(RingCheck(&root->arenaRing)); 101 CHECKL(RingCheck(&root->arenaRing));
102 CHECKL(RankCheck(root->rank)); 102 CHECKL(RankCheck(root->rank));
@@ -152,8 +152,8 @@ Bool RootCheck(Root root)
152/* rootCreate, RootCreateTable, RootCreateReg, RootCreateFmt, RootCreateFun 152/* rootCreate, RootCreateTable, RootCreateReg, RootCreateFmt, RootCreateFun
153 * 153 *
154 * RootCreate* set up the appropriate union member, and call the generic 154 * RootCreate* set up the appropriate union member, and call the generic
155 * create function to do the actual creation 155 * create function to do the actual creation
156 * 156 *
157 * See design.mps.root.init for initial value. */ 157 * See design.mps.root.init for initial value. */
158 158
159static Res rootCreate(Root *rootReturn, Arena arena, 159static Res rootCreate(Root *rootReturn, Arena arena,
@@ -263,7 +263,7 @@ Res RootCreateTable(Root *rootReturn, Arena arena,
263 AVERT(Arena, arena); 263 AVERT(Arena, arena);
264 AVER(RankCheck(rank)); 264 AVER(RankCheck(rank));
265 AVER(base != 0); 265 AVER(base != 0);
266 AVER(base < limit); 266 AVER(base < limit);
267 267
268 theUnion.table.base = base; 268 theUnion.table.base = base;
269 theUnion.table.limit = limit; 269 theUnion.table.limit = limit;
@@ -418,7 +418,7 @@ void RootGrey(Root root, Trace trace)
418{ 418{
419 AVERT(Root, root); 419 AVERT(Root, root);
420 AVERT(Trace, trace); 420 AVERT(Trace, trace);
421 421
422 root->grey = TraceSetAdd(root->grey, trace); 422 root->grey = TraceSetAdd(root->grey, trace);
423} 423}
424 424
@@ -589,7 +589,7 @@ Res RootDescribe(Root root, mps_lib_FILE *stream)
589 589
590 res = WriteF(stream, 590 res = WriteF(stream,
591 "Root $P ($U) {\n", (WriteFP)root, (WriteFU)root->serial, 591 "Root $P ($U) {\n", (WriteFP)root, (WriteFU)root->serial,
592 " arena $P ($U)\n", (WriteFP)root->arena, 592 " arena $P ($U)\n", (WriteFP)root->arena,
593 (WriteFU)root->arena->serial, 593 (WriteFU)root->arena->serial,
594 " rank $U\n", (WriteFU)root->rank, 594 " rank $U\n", (WriteFU)root->rank,
595 " grey $B\n", (WriteFB)root->grey, 595 " grey $B\n", (WriteFB)root->grey,
@@ -639,7 +639,7 @@ Res RootDescribe(Root root, mps_lib_FILE *stream)
639 NULL); 639 NULL);
640 if (res != ResOK) return res; 640 if (res != ResOK) return res;
641 break; 641 break;
642 642
643 default: 643 default:
644 NOTREACHED; 644 NOTREACHED;
645 } 645 }