diff options
author | Jason Merrill <jason@redhat.com> | 2019-05-07 18:37:24 -0400 |
---|---|---|
committer | Jason Merrill <jason@gcc.gnu.org> | 2019-05-07 18:37:24 -0400 |
commit | f7f36e3dc102d8ffb776f31abb48c33b1b830ebe (patch) | |
tree | 162c78828b3ac970b0fc97d39e22db261dd558c6 /gcc/go | |
parent | 7f16ac89313843929da15e0d7dceefb85992da2e (diff) | |
download | gcc-f7f36e3dc102d8ffb776f31abb48c33b1b830ebe.zip gcc-f7f36e3dc102d8ffb776f31abb48c33b1b830ebe.tar.gz gcc-f7f36e3dc102d8ffb776f31abb48c33b1b830ebe.tar.bz2 |
PR c++/90171 - reorganize usual_deallocation_fn_p
When fixing 90171 it struck me as undesirable to have so many separate
functions that all needed to know about the definition of a usual
deallocation function. So this patch condenses them into one. I left
destroying_delete_p because it is used by other files as well.
* call.c (struct dealloc_info): New.
(usual_deallocation_fn_p): Take a dealloc_info*.
(aligned_deallocation_fn_p, sized_deallocation_fn_p): Remove.
(build_op_delete_call): Adjust.
From-SVN: r270986
Diffstat (limited to 'gcc/go')
0 files changed, 0 insertions, 0 deletions