mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-09-19 04:26:05 +00:00
Convert StringMapEntry::Create to use StringRef instead of start/end pointers. Simpliies all in tree call sites. No functional change.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@210638 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -27,7 +27,7 @@ PooledStringPtr StringPool::intern(StringRef Key) {
|
||||
if (I != InternTable.end())
|
||||
return PooledStringPtr(&*I);
|
||||
|
||||
entry_t *S = entry_t::Create(Key.begin(), Key.end());
|
||||
entry_t *S = entry_t::Create(Key);
|
||||
S->getValue().Pool = this;
|
||||
InternTable.insert(S);
|
||||
|
||||
|
Reference in New Issue
Block a user