summaryrefslogtreecommitdiff
path: root/lib/Support/StringPool.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Support/StringPool.cpp')
-rw-r--r--lib/Support/StringPool.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Support/StringPool.cpp b/lib/Support/StringPool.cpp
index 76faabc92bb5..c591857c415d 100644
--- a/lib/Support/StringPool.cpp
+++ b/lib/Support/StringPool.cpp
@@ -26,10 +26,10 @@ PooledStringPtr StringPool::intern(StringRef Key) {
table_t::iterator I = InternTable.find(Key);
if (I != InternTable.end())
return PooledStringPtr(&*I);
-
+
entry_t *S = entry_t::Create(Key);
S->getValue().Pool = this;
InternTable.insert(S);
-
+
return PooledStringPtr(S);
}