summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite/test
diff options
context:
space:
mode:
authorDuncan P. N. Exon Smith <dexonsmith@apple.com>2016-04-06 06:38:15 +0000
committerDuncan P. N. Exon Smith <dexonsmith@apple.com>2016-04-06 06:38:15 +0000
commitbdfc984679b81e021634336f5f8f5dfca5b294a8 (patch)
treed79da9aff4e35fcfaaba65515a4635531206f850 /lldb/packages/Python/lldbsuite/test
parent5811c40bb37f8642d05b12d8113b8a40d6b23b72 (diff)
downloadbcm5719-llvm-bdfc984679b81e021634336f5f8f5dfca5b294a8.tar.gz
bcm5719-llvm-bdfc984679b81e021634336f5f8f5dfca5b294a8.zip
IRMover: Steal arguments when moving functions, NFC
Instead of copying arguments from the source function to the destination, steal them. This has a few advantages. - The ValueMap doesn't need to be seeded with (or cleared of) Arguments. - Often the destination function won't have created any arguments yet, so this avoids malloc traffic. - Argument names don't need to be copied. Because argument lists are lazy, this required a new Function::stealArgumentListFrom helper. llvm-svn: 265519
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud