FreeBSD/contrib/gcc/cp/class.c
/* If TYPE is an empty class type, records its OFFSET in the table of
   OFFSETS.  */
If TYPE is an empty class type, records its OFFSET in the table of
OFFSETS.
If TYPE is an empty class type records its OFFSET in the table of OFFSETS .
static int
record_subobject_offset (tree type, tree offset, splay_tree offsets)
{
  splay_tree_node n;
  if (!is_empty_class (type))
    return 0;
  n = splay_tree_lookup (offsets, (splay_tree_key) offset);
  if (!n)
    n = splay_tree_insert (offsets,
			   (splay_tree_key) offset,
			   (splay_tree_value) NULL_TREE);
  n->value = ((splay_tree_value)
	      tree_cons (NULL_TREE,
			 type,
			 (tree) n->value));
  return 0;
}
static int record_subobject_offset ( tree type , tree offset , splay_tree offsets ) { splay_tree_node n ; if ( ! is_empty_class ( type ) ) return 0 ; n = splay_tree_lookup ( offsets , ( splay_tree_key ) offset ) ; if ( ! n ) n = splay_tree_insert ( offsets , ( splay_tree_key ) offset , ( splay_tree_value ) NULL_TREE ) ; n -> value = ( ( splay_tree_value ) tree_cons ( NULL_TREE , type , ( tree ) n -> value ) ) ; return 0 ; }
If TYPE is an empty class type, records its OFFSET in the table of
OFFSETS.
If TYPE is an empty class type records its OFFSET in the table of OFFSETS .
/* Record the location of this empty object in OFFSETS.  */