diff options
| author | Rui Ueyama <ruiu@google.com> | 2018-03-29 18:29:12 +0000 |
|---|---|---|
| committer | Rui Ueyama <ruiu@google.com> | 2018-03-29 18:29:12 +0000 |
| commit | fb1db6ae43c6d31811bf3f6f3246b3e07ef983de (patch) | |
| tree | 35180452636834491769ddafe5bfb5605ecd3cfe /llvm/lib/DebugInfo/PDB/PDBSymbolLabel.cpp | |
| parent | 09fcdbc1311daec3e25a5f342ad8dfb758f16f4a (diff) | |
| download | bcm5719-llvm-fb1db6ae43c6d31811bf3f6f3246b3e07ef983de.tar.gz bcm5719-llvm-fb1db6ae43c6d31811bf3f6f3246b3e07ef983de.zip | |
Exit early from a loop. NFC.
This patch fixes an issue introduced in r328810 which made the algorithm
to always run the loop O(n^2) times, though we can break early. The
output remains the same.
llvm-svn: 328811
Diffstat (limited to 'llvm/lib/DebugInfo/PDB/PDBSymbolLabel.cpp')
0 files changed, 0 insertions, 0 deletions

