diff options
author | mmitchel <mmitchel@138bc75d-0d04-0410-961f-82ee72b054a4> | 2007-06-01 00:44:36 +0000 |
---|---|---|
committer | mmitchel <mmitchel@138bc75d-0d04-0410-961f-82ee72b054a4> | 2007-06-01 00:44:36 +0000 |
commit | 34382091d27e41e1f2ff4eafb3ffa434957c7a7a (patch) | |
tree | 420cff63564965826ce919df9219fa10d126d563 /libjava/classpath/native/jni/java-net/java_net_VMNetworkInterface.c | |
parent | cc9b091305bb9e78deb2f4e1dc15c7771c4086a5 (diff) | |
download | ppe42-gcc-34382091d27e41e1f2ff4eafb3ffa434957c7a7a.tar.gz ppe42-gcc-34382091d27e41e1f2ff4eafb3ffa434957c7a7a.zip |
* decl.c (get_atexit_fn_ptr_type): New function.
(get_atexit_node): Use it.
(start_cleanup_fn): Likewise.
(register_dtor_fn): Use the object's destructor, instead of a
separate cleanup function, where possible.
* cp-tree.h (CPTI_ATEXIT_FN_PTR_TYPE): New enumerator.
(atexit_fn_ptr_type_node): New macro.
* decl2.c (build_cleanup): Use build_address.
* g++.dg/init/cleanup3.C: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@125253 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libjava/classpath/native/jni/java-net/java_net_VMNetworkInterface.c')
0 files changed, 0 insertions, 0 deletions