diff options
author | Tom Tromey <tom@tromey.com> | 2023-01-16 17:04:39 -0700 |
---|---|---|
committer | Tom Tromey <tom@tromey.com> | 2023-02-19 12:51:05 -0700 |
commit | f52688890edd7c587ec11cf1d565f235e41a6c43 (patch) | |
tree | c413367521a7229ef06bf156bd688aa0cc5acb5c /gprof | |
parent | 4aabc4166430fed52e9a2e4042147e3480f9178a (diff) | |
download | gdb-f52688890edd7c587ec11cf1d565f235e41a6c43.zip gdb-f52688890edd7c587ec11cf1d565f235e41a6c43.tar.gz gdb-f52688890edd7c587ec11cf1d565f235e41a6c43.tar.bz2 |
Avoid extra allocations in block
block_set_scope and block_set_using unconditionally allocate the block
namespace object. However, this isn't truly needed, so arrange to
only allocate when it is.
Diffstat (limited to 'gprof')
0 files changed, 0 insertions, 0 deletions