X-Git-Url: http://demsky.eecs.uci.edu/git/?a=blobdiff_plain;f=lib%2FSupport%2FStringPool.cpp;h=76faabc92bb5c74feb4039bfa6e043600d58c262;hb=a7c6b3a57ae1b36daa715d852ad4a7223ccdad6f;hp=ff607cf8c4adddee0547868a6b03567febc77185;hpb=38e59891ee4417a9be2f8146ce0ba3269e38ac21;p=oota-llvm.git diff --git a/lib/Support/StringPool.cpp b/lib/Support/StringPool.cpp index ff607cf8c4a..76faabc92bb 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);