diff options
author | Mark Mitchell <mark@codesourcery.com> | 2000-06-30 07:16:35 +0000 |
---|---|---|
committer | Mark Mitchell <mmitchel@gcc.gnu.org> | 2000-06-30 07:16:35 +0000 |
commit | c395453cb66ab273126e18e7aec5afedc37042f8 (patch) | |
tree | 02782e15a7890f06a14c2de21649dec03a5d3c13 /gcc/cpphash.h | |
parent | c1c8f8cc4f1ece37f1f9a3d415fce73f6b5172ee (diff) | |
download | gcc-c395453cb66ab273126e18e7aec5afedc37042f8.zip gcc-c395453cb66ab273126e18e7aec5afedc37042f8.tar.gz gcc-c395453cb66ab273126e18e7aec5afedc37042f8.tar.bz2 |
cp-tree.h (struct language_function): Remove temp_name_counter.
* cp-tree.h (struct language_function): Remove temp_name_counter.
(temp_name_counter): Remove.
(get_temp_name): Change prototype.
(get_guard): New function.
(get_guard_cond): Likewise.
(set_guard): Likewise.
* cvt.c (build_up_reference): Adjust call to get_temp_name.
* decl.c (expand_static_init): Use get_guard and friends to
implement guard variables.
* decl2.c (get_temp_name): Assume that the variables created are
always static.
(get_sentry): Rename to ...
(get_guard): ... this. Implement new ABI guard variables.
(get_guard_bits): New function.
(get_guard_cond): Likewise.
(set_guard): Likewise.
(start_static_initialization_or_destruction): Use them.
(do_static_initialization): Replace sentry with guard throughout.
(do_static_destruction): Likewise.
* init.c (create_temporary_var): Add comment.
From-SVN: r34803
Diffstat (limited to 'gcc/cpphash.h')
0 files changed, 0 insertions, 0 deletions