コード例 #1
0
ファイル: stringpool.c プロジェクト: sharugupta/OpenUH
/* Initialize the string pool.  */
void
init_stringpool ()
{
    /* Create with 16K (2^14) entries.  */
    ident_hash = ht_create (14);
    ident_hash->alloc_node = alloc_node;
    gcc_obstack_init (&string_stack);
    ggc_add_root (&ident_hash, 1, sizeof ident_hash, mark_ident_hash);
}
コード例 #2
0
ファイル: stringpool.c プロジェクト: aosm/gcc3
/* Initialize the string pool.  */
void
init_stringpool ()
{
  /* Create with 16K (2^14) entries.  */
/* APPLE LOCAL PFE */
#ifdef PFE
  /* Create identifier hashtable, only if we are not doing PFE_LOAD.
     If we are doing PFE_LOAD then it is already loaded from the
     precompiled header.  */
  if (pfe_operation != PFE_LOAD)
#endif
    ident_hash = ht_create (14);
  ident_hash->alloc_node = alloc_node;
  gcc_obstack_init (&string_stack);
  ggc_add_root (&ident_hash, 1, sizeof ident_hash, mark_ident_hash);
}