diff options
Diffstat (limited to 'lib/Support/StringPool.cpp')
-rw-r--r-- | lib/Support/StringPool.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Support/StringPool.cpp b/lib/Support/StringPool.cpp index ff607cf..76faabc 100644 --- a/lib/Support/StringPool.cpp +++ b/lib/Support/StringPool.cpp @@ -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); |