diff options
author | kazu <kazu@138bc75d-0d04-0410-961f-82ee72b054a4> | 2002-01-05 22:11:21 +0000 |
---|---|---|
committer | kazu <kazu@138bc75d-0d04-0410-961f-82ee72b054a4> | 2002-01-05 22:11:21 +0000 |
commit | dfe09cce7fdd034d198e46f6fc9127094162550d (patch) | |
tree | c82a399277d5efe697a879308c7e2870fbb15a79 /gcc/ggc-page.c | |
parent | ea913091109fdb9f2d28904bda5228ae099f68d3 (diff) | |
download | gcc-dfe09cce7fdd034d198e46f6fc9127094162550d.tar.gz |
* cse.c: Fix formatting.
* dwarf2asm.c: Likewise.
* dwarf2out.c: Likewise.
* explow.c: Likewise.
* expmed.c: Likewise.
* function.c: Likewise.
* gcov.c: Likewise.
* gencheck.c: Likewise.
* genrecog.c: Likewise.
* ggc-common.c: Likewise.
* ggc-page.c: Likewise.
* global.c: Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@48570 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/ggc-page.c')
-rw-r--r-- | gcc/ggc-page.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gcc/ggc-page.c b/gcc/ggc-page.c index b941f54aed3..ad3f815b944 100644 --- a/gcc/ggc-page.c +++ b/gcc/ggc-page.c @@ -1,5 +1,5 @@ /* "Bag-of-pages" garbage collector for the GNU compiler. - Copyright (C) 1999, 2000, 2001 Free Software Foundation, Inc. + Copyright (C) 1999, 2000, 2001, 2002 Free Software Foundation, Inc. This file is part of GCC. @@ -535,7 +535,7 @@ static inline size_t page_group_index (allocation, page) char *allocation, *page; { - return (size_t)(page - allocation) >> G.lg_pagesize; + return (size_t) (page - allocation) >> G.lg_pagesize; } /* Set and clear the in_use bit for this page in the page group. */ @@ -654,7 +654,7 @@ alloc_page (order) alloc_size = entry_size + G.pagesize - 1; allocation = xmalloc (alloc_size); - page = (char *)(((size_t) allocation + G.pagesize - 1) & -G.pagesize); + page = (char *) (((size_t) allocation + G.pagesize - 1) & -G.pagesize); head_slop = page - allocation; if (multiple_pages) tail_slop = ((size_t) allocation + alloc_size) & (G.pagesize - 1); |