[C++ PATCH] clone_function_decl breakup
Nathan Sidwell
nathan@acm.org
Tue Oct 15 12:35:00 GMT 2019
This patch, from the modules branch, breaks out function cloning from
the method vector updating. We have a new function, build_clones, which
does the building, returning a count of the number of clones (2 or 3).
clone_function_decl separately adds them to the method vector, if they
should be added. I suppose this could have used FOR_EVERY_CLONE, but I
went with the counting scheme.
On the module branch, build_clones is not static and has a few more
parameters, but that's a different patch.
installing on trunk.
nathan
--
Nathan Sidwell
-------------- next part --------------
A non-text attachment was scrubbed...
Name: clone-2.diff
Type: text/x-patch
Size: 2950 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20191015/37e76b60/attachment.bin>
More information about the Gcc-patches
mailing list