diff options
| author | Craig Topper <craig.topper@gmail.com> | 2014-06-11 05:35:56 +0000 |
|---|---|---|
| committer | Craig Topper <craig.topper@gmail.com> | 2014-06-11 05:35:56 +0000 |
| commit | 213d2f79e5082290c318f2c8498664bb81f7e06b (patch) | |
| tree | d6dc3fde2277ff8104ef6de42396485d6c6bc285 /llvm/lib/IR | |
| parent | 6a729c64e0eb168e26f6377002b884f748d48333 (diff) | |
| download | bcm5719-llvm-213d2f79e5082290c318f2c8498664bb81f7e06b.tar.gz bcm5719-llvm-213d2f79e5082290c318f2c8498664bb81f7e06b.zip | |
Convert StringMapEntry::Create to use StringRef instead of start/end pointers. Simpliies all in tree call sites. No functional change.
llvm-svn: 210638
Diffstat (limited to 'llvm/lib/IR')
| -rw-r--r-- | llvm/lib/IR/Value.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/IR/Value.cpp b/llvm/lib/IR/Value.cpp index f392512c3e9..463024a28c7 100644 --- a/llvm/lib/IR/Value.cpp +++ b/llvm/lib/IR/Value.cpp @@ -213,7 +213,7 @@ void Value::setName(const Twine &NewName) { // then reallocated. // Create the new name. - Name = ValueName::Create(NameRef.begin(), NameRef.end()); + Name = ValueName::Create(NameRef); Name->setValue(this); return; } |

