aboutsummaryrefslogtreecommitdiff
path: root/libctf
diff options
context:
space:
mode:
authorTom Tromey <tom@tromey.com>2024-04-11 20:00:09 -0600
committerTom Tromey <tom@tromey.com>2024-05-14 13:28:39 -0600
commit25113e2d040fad868409c3e17262ee007fc8658a (patch)
treefd092ff1e32437aa4a714e341d78a50391fd1fcf /libctf
parent843d1820007ce64f5a69a64102a6607dcff2ce27 (diff)
downloadbinutils-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