FreeBSD/contrib/gcc/cp/class.c
/* Make BINFO's vtable have N entries, including RTTI entries,
   vbase and vcall offsets, etc.  Set its type and call the backend
   to lay it out.  */
Make BINFO's vtable have N entries, including RTTI entries,
vbase and vcall offsets, etc.  Set its type and call the backend
to lay it out.
Make BINFO ' s vtable have N entries including RTTI entries vbase and vcall offsets etc . Set its type and call the backend to lay it out .
static void
layout_vtable_decl (tree binfo, int n)
{
  tree atype;
  tree vtable;
  atype = build_cplus_array_type (vtable_entry_type,
				  build_index_type (size_int (n - 1)));
  layout_type (atype);
  vtable = get_vtbl_decl_for_binfo (binfo);
  if (!same_type_p (TREE_TYPE (vtable), atype))
    {
      TREE_TYPE (vtable) = atype;
      DECL_SIZE (vtable) = DECL_SIZE_UNIT (vtable) = NULL_TREE;
      layout_decl (vtable, 0);
    }
}
static void layout_vtable_decl ( tree binfo , int n ) { tree atype ; tree vtable ; atype = build_cplus_array_type ( vtable_entry_type , build_index_type ( size_int ( n - 1 ) ) ) ; layout_type ( atype ) ; vtable = get_vtbl_decl_for_binfo ( binfo ) ; if ( ! same_type_p ( TREE_TYPE ( vtable ) , atype ) ) { TREE_TYPE ( vtable ) = atype ; DECL_SIZE ( vtable ) = DECL_SIZE_UNIT ( vtable ) = NULL_TREE ; layout_decl ( vtable , 0 ) ; } }
Make BINFO's vtable have N entries, including RTTI entries,
vbase and vcall offsets, etc.
Make BINFO ' s vtable have N entries including RTTI entries vbase and vcall offsets etc .
/* We may have to grow the vtable.  */