diff options
author | Jakub Jelinek <jakub@redhat.com> | 2011-10-09 11:35:23 +0200 |
---|---|---|
committer | Jakub Jelinek <jakub@gcc.gnu.org> | 2011-10-09 11:35:23 +0200 |
commit | 68e291ec19d388cf2c79ea01a826cfb3ca27b5a5 (patch) | |
tree | b0e08f6eaaa605da771f30c5d5b71d1ed41d500c /libobjc/class.c | |
parent | 367f06ae31199b827781fff1027c44e37c7392ba (diff) | |
download | gcc-68e291ec19d388cf2c79ea01a826cfb3ca27b5a5.zip gcc-68e291ec19d388cf2c79ea01a826cfb3ca27b5a5.tar.gz gcc-68e291ec19d388cf2c79ea01a826cfb3ca27b5a5.tar.bz2 |
pt.c (reregister_specialization): Use htab_find instead of htab_find_slot with INSERT.
* pt.c (reregister_specialization): Use htab_find instead of
htab_find_slot with INSERT.
(maybe_process_partial_specialization, lookup_template_class_1): Change
slot variable type to void ** to avoid aliasing problems.
(register_specialization): Likewise. Use slot != NULL instead of
more expensive !optimize_specialization_lookup_p (tmpl) test.
Co-Authored-By: Diego Novillo <dnovillo@google.com>
From-SVN: r179719
Diffstat (limited to 'libobjc/class.c')
0 files changed, 0 insertions, 0 deletions