OSDN Git Service

* ggc-page.c (NUM_SIZE_LOOKUP): New constant - the length of the size_lookup[] array.
authornickc <nickc@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 25 Jul 2006 15:33:50 +0000 (15:33 +0000)
committernickc <nickc@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 25 Jul 2006 15:33:50 +0000 (15:33 +0000)
commitf68513d3a28b383ef34f7f65d90399436b9f57cd
tree097df08f8c404a8e292b7d34a666becdc2a914d8
parent18247eca35028a3cff272de48c7bc36680aaa737
* ggc-page.c (NUM_SIZE_LOOKUP): New constant - the length of the size_lookup[] array.
  (ggc_alloc_stat): Use NUM_SIZE_LOOKUP.
  (ggc_pch_count_object): Likewise.
  (ggc_pch_alloc_object): Likewise.
  (ggc_pch_write_object): Likewise.
  (init_ggc): Do not attempt to initialize entries in the size_lookup[] array
  for objects whose size is greater than than the length of the array.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@115738 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/ggc-page.c