summaryrefslogtreecommitdiffstats
path: root/libjava/gnu/java/beans/decoder/PersistenceParser$ByteHandlerCreator.h
diff options
context:
space:
mode:
authorjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>2009-07-02 17:28:07 +0000
committerjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>2009-07-02 17:28:07 +0000
commit9f432531c5a392244f2c1015f29151129846ca87 (patch)
tree3c2c0297ab16c23ff492721390073d22d425b37a /libjava/gnu/java/beans/decoder/PersistenceParser$ByteHandlerCreator.h
parent13fd92e4924f1a44feec412640d404e6172a09a2 (diff)
downloadppe42-gcc-9f432531c5a392244f2c1015f29151129846ca87.tar.gz
ppe42-gcc-9f432531c5a392244f2c1015f29151129846ca87.zip
Use hash tables for template specialization lookup.
* pt.c (struct spec_entry): New type. (decl_specializations, type_specializations): New hash tables. (register_specialization, retrieve_specialization): Use them. (reregister_specialization, lookup_template_class): Use them. (eq_specializations, hash_tmpl_and_args, hash_specialization): New. (iterative_hash_template_arg): New. (init_template_processing): New (process_partial_specialization): Don't look to see if we already have this partial specialization. (maybe_process_partial_specialization): Handle reassigning full specializations when we get an explicit specialization of the partial instantiation. (tsubst_friend_function): Adjust specialization reassignment code. (instantiate_template): Only do one lookup. (instantiate_decl): Don't do any lookup. * cp-tree.h: Declare init_template_processing. * decl.c (duplicate_decls): Pass args to reregister_specialization. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@149188 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libjava/gnu/java/beans/decoder/PersistenceParser$ByteHandlerCreator.h')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud