diff options
author | austern <austern@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-04-03 21:00:56 +0000 |
---|---|---|
committer | austern <austern@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-04-03 21:00:56 +0000 |
commit | 78e9fc5073efe5a72073621400ad34aeec481bd5 (patch) | |
tree | dbb1adecad038d29321ac64a1fb29c837c4b0c87 /gcc/ggc.h | |
parent | cbf55766ae0f73a61a54d56d442e43ed6eac8d42 (diff) | |
download | gcc-78e9fc5073efe5a72073621400ad34aeec481bd5.tar.gz |
* cpppch.c (reset_ht): Remove.
(cpp_read_state): Remove loop to reset hashtable identifiers.
* ggc-common.c (gt_pch_save): Add call to gt_pch_fixup_stringpool
after pch file is written.
* ggc.h (gt_pch_fixup_stringpool): Declare.
* stringpool.c (ht_copy_and_clear): Define. Callback. Copy
hashnode's value to another hashtable, then clear the original.
(saved_ident_hash): Define.
(gt_pch_save_stringpool): Create saved_ident_hash, use it to
store definitions in ident_hash, and clear ident_hash.
(gt_pch_fixup_stringpool): Define. Restore definitions from
saved_ident_hash to ident_hash, then destroy saved_ident_hash.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@65215 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/ggc.h')
-rw-r--r-- | gcc/ggc.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/ggc.h b/gcc/ggc.h index 17b8e721c7d..e1364a3a84e 100644 --- a/gcc/ggc.h +++ b/gcc/ggc.h @@ -124,6 +124,7 @@ extern void ggc_mark_roots PARAMS ((void)); /* Save and restore the string pool entries for PCH. */ extern void gt_pch_save_stringpool PARAMS ((void)); +extern void gt_pch_fixup_stringpool PARAMS ((void)); extern void gt_pch_restore_stringpool PARAMS ((void)); /* PCH and GGC handling for strings, mostly trivial. */ |