summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite/test/python_api/target/TestTargetAPI.py
diff options
context:
space:
mode:
authorSanjoy Das <sanjoy@playingwithpointers.com>2015-11-05 03:04:40 +0000
committerSanjoy Das <sanjoy@playingwithpointers.com>2015-11-05 03:04:40 +0000
commit98bfe26bf8cbb088d13a3aee2d5c29070ffbbd55 (patch)
treefdbb856ab913328f9d164cce0ae449ee8485dbb1 /lldb/packages/Python/lldbsuite/test/python_api/target/TestTargetAPI.py
parenta40450cba2d40c33a58f2da075e807e1953c2c6a (diff)
downloadbcm5719-llvm-98bfe26bf8cbb088d13a3aee2d5c29070ffbbd55.tar.gz
bcm5719-llvm-98bfe26bf8cbb088d13a3aee2d5c29070ffbbd55.zip
[FunctionAttrs] Remove a loop, NFC refactor
Summary: Remove the loop over the uses of the CallSite in ArgumentUsesTracker. Since we have the `Use *` for actual argument operand, we can just use pointer subtraction. The time complexity remains the same though (except for a vararg argument) -- `std::advance` is O(UseIndex) for the ArgumentList iterator. The real motivation is to make a later change adding support for operand bundles simpler. Reviewers: reames, chandlerc, nlewycky Subscribers: llvm-commits Differential Revision: http://reviews.llvm.org/D14363 llvm-svn: 252141
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/python_api/target/TestTargetAPI.py')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud