Commit ed23b2a9 by Bernd Schmidt Committed by Bernd Schmidt

Initialize empty_string in ggc-simple.

From-SVN: r29856
parent c219b878
Thu Oct 7 20:14:16 1999 Bernd Schmidt <bernds@cygnus.co.uk>
* ggc-simple.c (init_ggc): Set empty_string.
Thu Oct 7 01:13:15 1999 Richard Henderson <rth@cygnus.com> Thu Oct 7 01:13:15 1999 Richard Henderson <rth@cygnus.com>
* configure.in: Detect mmap. Add --with-gc=foo to select * configure.in: Detect mmap. Add --with-gc=foo to select
......
...@@ -148,7 +148,7 @@ init_ggc PROTO ((void)) ...@@ -148,7 +148,7 @@ init_ggc PROTO ((void))
setlinebuf (dump); setlinebuf (dump);
#endif #endif
ggc_alloc_string ("", 0); empty_string = ggc_alloc_string ("", 0);
ggc_add_string_root (&empty_string, 1); ggc_add_string_root (&empty_string, 1);
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment