class.c (finish_struct_1): Correct comment.
* class.c (finish_struct_1): Correct comment. * cp-tree.c (DECL_SORTED_FIELDS): Likewise. From-SVN: r59828
This commit is contained in:
parent
c246c65d76
commit
6c73ad72f8
3 changed files with 7 additions and 3 deletions
|
@ -1,3 +1,8 @@
|
|||
2002-12-04 Geoffrey Keating <geoffk@apple.com>
|
||||
|
||||
* class.c (finish_struct_1): Correct comment.
|
||||
* cp-tree.c (DECL_SORTED_FIELDS): Likewise.
|
||||
|
||||
2002-12-04 Gabriel Dos Reis <gdr@integrable-solutions.net>
|
||||
|
||||
PR C++/8799
|
||||
|
|
|
@ -5280,8 +5280,7 @@ finish_struct_1 (t)
|
|||
/* Done with FIELDS...now decide whether to sort these for
|
||||
faster lookups later.
|
||||
|
||||
The C front-end only does this when n_fields > 15. We use
|
||||
a smaller number because most searches fail (succeeding
|
||||
We use a small number because most searches fail (succeeding
|
||||
ultimately as the search bores through the inheritance
|
||||
hierarchy), and we want this failure to occur quickly. */
|
||||
|
||||
|
|
|
@ -2189,7 +2189,7 @@ struct lang_decl GTY(())
|
|||
#define DECL_PENDING_INLINE_INFO(NODE) \
|
||||
(DECL_LANG_SPECIFIC (NODE)->u.f.u.pending_inline_info)
|
||||
|
||||
/* For a TYPE_DECL: if this function has many fields, we'll sort them
|
||||
/* For a TYPE_DECL: if this structure has many fields, we'll sort them
|
||||
and put them into a TREE_VEC. */
|
||||
#define DECL_SORTED_FIELDS(NODE) \
|
||||
(DECL_LANG_SPECIFIC (TYPE_DECL_CHECK (NODE))->u.f.u.sorted_fields)
|
||||
|
|
Loading…
Add table
Reference in a new issue