diff options
| author | Pavel Labath <labath@google.com> | 2017-04-28 12:08:28 +0000 |
|---|---|---|
| committer | Pavel Labath <labath@google.com> | 2017-04-28 12:08:28 +0000 |
| commit | 8070bf0a548d80e3d6a21a15c6149e69d70ae317 (patch) | |
| tree | 703c212ec920240ecdebfc0cdb7d421e20c4e073 /llvm/lib/CodeGen | |
| parent | ec93334317830547c97b47c9f3d6da730bd91904 (diff) | |
| download | bcm5719-llvm-8070bf0a548d80e3d6a21a15c6149e69d70ae317.tar.gz bcm5719-llvm-8070bf0a548d80e3d6a21a15c6149e69d70ae317.zip | |
Remove lock from ConstString::GetLength
Summary: ConstStrings are immutable, so there is no need to grab even a reader lock in order to read the length field.
Reviewers: #lldb, labath
Reviewed By: labath
Subscribers: zturner, labath, lldb-commits
Differential Revision: https://reviews.llvm.org/D32306
Patch by Scott Smith <scott.smith@purestorage.com>
llvm-svn: 301642
Diffstat (limited to 'llvm/lib/CodeGen')
0 files changed, 0 insertions, 0 deletions

