FreeBSD/contrib/gcc/cp/class.c
/* Make *VIRTUALS, an entry on the BINFO_VIRTUALS list for BINFO
   (which is in the hierarchy dominated by T) list FNDECL as its
   BV_FN.  DELTA is the required constant adjustment from the `this'
   pointer where the vtable entry appears to the `this' required when
   the function is actually called.  */
Make *VIRTUALS, an entry on the BINFO_VIRTUALS list for BINFO
(which is in the hierarchy dominated by T) list FNDECL as its
BV_FN.  DELTA is the required constant adjustment from the `this'
pointer where the vtable entry appears to the `this' required when
the function is actually called.
Make * VIRTUALS an entry on the BINFO_VIRTUALS list for BINFO ( which is in the hierarchy dominated by T ) list FNDECL as its BV_FN . DELTA is the required constant adjustment from the ` this ' pointer where the vtable entry appears to the ` this ' required when the function is actually called .
static void
modify_vtable_entry (tree t,
		     tree binfo,
		     tree fndecl,
		     tree delta,
		     tree *virtuals)
{
  tree v;
  v = *virtuals;
  if (fndecl != BV_FN (v)
      || !tree_int_cst_equal (delta, BV_DELTA (v)))
    {
      if (make_new_vtable (t, binfo))
	{
	  *virtuals = BINFO_VIRTUALS (binfo);
	  while (BV_FN (*virtuals) != BV_FN (v))
	    *virtuals = TREE_CHAIN (*virtuals);
	  v = *virtuals;
	}
      BV_DELTA (v) = delta;
      BV_VCALL_INDEX (v) = NULL_TREE;
      BV_FN (v) = fndecl;
    }
}
static void modify_vtable_entry ( tree t , tree binfo , tree fndecl , tree delta , tree * virtuals ) { tree v ; v = * virtuals ; if ( fndecl != BV_FN ( v ) || ! tree_int_cst_equal ( delta , BV_DELTA ( v ) ) ) { if ( make_new_vtable ( t , binfo ) ) { * virtuals = BINFO_VIRTUALS ( binfo ) ; while ( BV_FN ( * virtuals ) != BV_FN ( v ) ) * virtuals = TREE_CHAIN ( * virtuals ) ; v = * virtuals ; } BV_DELTA ( v ) = delta ; BV_VCALL_INDEX ( v ) = NULL_TREE ; BV_FN ( v ) = fndecl ; } }
Make *VIRTUALS, an entry on the BINFO_VIRTUALS list for BINFO
(which is in the hierarchy dominated by T) list FNDECL as its
BV_FN.
Make * VIRTUALS an entry on the BINFO_VIRTUALS list for BINFO ( which is in the hierarchy dominated by T ) list FNDECL as its BV_FN .
/* We need a new vtable for BINFO.  */ /* If we really did make a new vtable, we also made a copy
	     of the BINFO_VIRTUALS list.  Now, we have to find the
	     corresponding entry in that list.  */