aboutsummaryrefslogtreecommitdiff
path: root/gdb/amd64-linux-tdep.c
diff options
context:
space:
mode:
authorTom Tromey <tromey@adacore.com>2023-03-01 12:33:27 -0700
committerTom Tromey <tromey@adacore.com>2023-03-27 08:20:29 -0600
commitc7c3708ac778625d3a87aad541de5f0666acbcc5 (patch)
tree4130dbcad187159564716bfa2b2ac534aaec651c /gdb/amd64-linux-tdep.c
parentc225d6b80413d373c84f743b2c4e9b4851ff82dc (diff)
downloadgdb-c7c3708ac778625d3a87aad541de5f0666acbcc5.zip
gdb-c7c3708ac778625d3a87aad541de5f0666acbcc5.tar.gz
gdb-c7c3708ac778625d3a87aad541de5f0666acbcc5.tar.bz2
Avoid a copy in gdb_mpz::safe_export
Currently, gdb_mpz::safe_export will always make a copy of *this. However, this copy isn't always needed. This patch makes this code slightly more efficient, by avoiding the copy when possible.
Diffstat (limited to 'gdb/amd64-linux-tdep.c')
0 files changed, 0 insertions, 0 deletions