diff options
author | Tom Tromey <tom@tromey.com> | 2024-04-11 20:00:09 -0600 |
---|---|---|
committer | Tom Tromey <tom@tromey.com> | 2024-05-14 13:28:39 -0600 |
commit | 25113e2d040fad868409c3e17262ee007fc8658a (patch) | |
tree | fd092ff1e32437aa4a714e341d78a50391fd1fcf /libctf | |
parent | 843d1820007ce64f5a69a64102a6607dcff2ce27 (diff) | |
download | binutils-25113e2d040fad868409c3e17262ee007fc8658a.zip binutils-25113e2d040fad868409c3e17262ee007fc8658a.tar.gz binutils-25113e2d040fad868409c3e17262ee007fc8658a.tar.bz2 |
Remove some unnecessary allocations from cpname_state::parse_number
cpname_state::parse_number allocates nodes for various types and then
only uses one of them. This patch reduces the number of allocations
by not performing the unnecessary ones.
Approved-By: John Baldwin <jhb@FreeBSD.org>
Diffstat (limited to 'libctf')
0 files changed, 0 insertions, 0 deletions