diff options
| author | Jakob Stoklund Olesen <stoklund@2pi.dk> | 2010-09-21 17:12:18 +0000 |
|---|---|---|
| committer | Jakob Stoklund Olesen <stoklund@2pi.dk> | 2010-09-21 17:12:18 +0000 |
| commit | 1ccded77c0923c3582f7d3953c8cf99f1c748096 (patch) | |
| tree | fbbea04ba02a4907448bc29c63475c6a65393798 /lldb/source/Commands/CommandObjectBreakpointCommand.cpp | |
| parent | 04610c63cb821c9ef1332c82eeedc6d593ca01b0 (diff) | |
| download | llvm-1ccded77c0923c3582f7d3953c8cf99f1c748096.zip llvm-1ccded77c0923c3582f7d3953c8cf99f1c748096.tar.gz llvm-1ccded77c0923c3582f7d3953c8cf99f1c748096.tar.bz2 | |
Add LiveInterval::find and use it for most LiveRange searching operations
instead of calling lower_bound or upper_bound directly.
This cleans up the search logic a bit because {lower,upper}_bound compare
LR->start by default, and it is usually simpler to search LR->end.
Funnelling all searches through one function also makes it possible to replace
the search algorithm with something faster than binary search.
llvm-svn: 114448
Diffstat (limited to 'lldb/source/Commands/CommandObjectBreakpointCommand.cpp')
0 files changed, 0 insertions, 0 deletions
