summaryrefslogtreecommitdiff
path: root/gcc/integrate.c
diff options
context:
space:
mode:
authoraustern <austern@138bc75d-0d04-0410-961f-82ee72b054a4>2003-01-03 19:48:55 +0000
committeraustern <austern@138bc75d-0d04-0410-961f-82ee72b054a4>2003-01-03 19:48:55 +0000
commit9bacae7e81f3a57b192176f2fccfd6eff61c95fa (patch)
treefcf7fb52bf769a2736649a456198023537d5a286 /gcc/integrate.c
parent81010c9762bdeb5c579ba06d25abdf5adeb2d680 (diff)
downloadgcc-9bacae7e81f3a57b192176f2fccfd6eff61c95fa.tar.gz
* cp-tree.h (struct lang_type_class): add field for key method
(cp_global_trees): rename dynamic_classes to keyed_classes (key_method): add definition * class.c (finish_struct_1): compute class's key method, and add the class to keyed_classes list if there is no key method. * decl.c (finish_function): add class to keyed_classes list if we see a definition of the class's key method. * pt.c (instantiate_class_template): add template specialization of a dynamic class to keyed_classes list. * decl2.c (key_method): remove (finish_file): iterate only through keyed_classes list when deciding whether to emit vtables, remove class from its list after we do the emission. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@60850 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/integrate.c')
0 files changed, 0 insertions, 0 deletions