contrib/gnu/gcc/dist/gcc/cp/class.c
/* Give BINFO a new virtual function table which is initialized
   with a skeleton-copy of its original initialization.  The only
   entry that changes is the `delta' entry, so we can really
   share a lot of structure.

   FOR_TYPE is the most derived type which caused this table to
   be needed.

   Returns nonzero if we haven't met BINFO before.

   The order in which vtables are built (by calling this function) for
   an object must remain the same, otherwise a binary incompatibility
   can result.  */
Give BINFO a new virtual function table which is initialized
with a skeleton-copy of its original initialization.  The only
entry that changes is the `delta' entry, so we can really
share a lot of structure.

FOR_TYPE is the most derived type which caused this table to
be needed.

Returns nonzero if we haven't met BINFO before.

The order in which vtables are built (by calling this function) for
an object must remain the same, otherwise a binary incompatibility
can result.
Give BINFO a new virtual function table which is initialized with a skeleton - copy of its original initialization . The only entry that changes is the ` delta ' entry so we can really share a lot of structure . FOR_TYPE is the most derived type which caused this table to be needed . Returns nonzero if we haven ' t met BINFO before . The order in which vtables are built ( by calling this function ) for an object must remain the same otherwise a binary incompatibility can result .
static int
build_secondary_vtable (tree binfo)
{
  if (BINFO_NEW_VTABLE_MARKED (binfo))
    return 0;
  SET_BINFO_NEW_VTABLE_MARKED (binfo);
  BINFO_VIRTUALS (binfo) = copy_list (BINFO_VIRTUALS (binfo));
  BINFO_VTABLE (binfo) = NULL_TREE;
  return 1;
}
static int build_secondary_vtable ( tree binfo ) { if ( BINFO_NEW_VTABLE_MARKED ( binfo ) ) return 0 ; SET_BINFO_NEW_VTABLE_MARKED ( binfo ) ; BINFO_VIRTUALS ( binfo ) = copy_list ( BINFO_VIRTUALS ( binfo ) ) ; BINFO_VTABLE ( binfo ) = NULL_TREE ; return 1 ; }
Give BINFO a new virtual function table which is initialized
with a skeleton-copy of its original initialization.
Give BINFO a new virtual function table which is initialized with a skeleton - copy of its original initialization .
/* We already created a vtable for this base.  There's no need to
       do it again.  */ /* Remember that we've created a vtable for this BINFO, so that we
     don't try to do so again.  */ /* Make fresh virtual list, so we can smash it later.  */ /* Secondary vtables are laid out as part of the same structure as
     the primary vtable.  */