mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-04-10 17:11:01 +08:00
* ggc-page.c (NUM_EXTRA_ORDERS): Hardwire to zero for now.
From-SVN: r38717
This commit is contained in:
parent
341e3d1169
commit
cef3d50c9f
@ -1,3 +1,7 @@
|
||||
2001-01-05 Mark Mitchell <mark@codesourcery.com>
|
||||
|
||||
* ggc-page.c (NUM_EXTRA_ORDERS): Hardwire to zero for now.
|
||||
|
||||
2001-01-05 Joseph S. Myers <jsm28@cam.ac.uk>
|
||||
|
||||
* builtins.def (BUILT_IN_CONJ, BUILT_IN_CREAL, BUILT_IN_CIMAG):
|
||||
|
@ -140,12 +140,23 @@ Boston, MA 02111-1307, USA. */
|
||||
/* The size of an object on a page of the indicated ORDER. */
|
||||
#define OBJECT_SIZE(ORDER) object_size_table[ORDER]
|
||||
|
||||
#ifdef NO_ALIGNMENT_PROBLEM
|
||||
|
||||
/* The number of extra orders, not corresponding to power-of-two sized
|
||||
objects. */
|
||||
|
||||
#define NUM_EXTRA_ORDERS \
|
||||
(sizeof (extra_order_size_table) / sizeof (extra_order_size_table[0]))
|
||||
|
||||
#else /* !defined(NO_ALIGNMENT_PROBLEM) */
|
||||
|
||||
/* For now, we can't use this code because we don't ensure that the
|
||||
objects returned are appropriately aligned. The problem is that
|
||||
some tree_list sized things, for example, use */
|
||||
#define NUM_EXTRA_ORDERS 0
|
||||
|
||||
#endif /* !defined(NO_ALIGNMENT_PROBLEM) */
|
||||
|
||||
/* The Ith entry is the maximum size of an object to be stored in the
|
||||
Ith extra order. Adding a new entry to this array is the *only*
|
||||
thing you need to do to add a new special allocation size. */
|
||||
|
Loading…
x
Reference in New Issue
Block a user