projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[block-freq] Remove old BlockFrequency entry frequency and printing code.
[oota-llvm.git]
/
lib
/
Support
/
StringPool.cpp
diff --git
a/lib/Support/StringPool.cpp
b/lib/Support/StringPool.cpp
index 1ee917f119f7e446538cfa395715043f9bf93877..ff607cf8c4adddee0547868a6b03567febc77185 100644
(file)
--- a/
lib/Support/StringPool.cpp
+++ b/
lib/Support/StringPool.cpp
@@
-22,7
+22,7
@@
StringPool::~StringPool() {
assert(InternTable.empty() && "PooledStringPtr leaked!");
}
assert(InternTable.empty() && "PooledStringPtr leaked!");
}
-PooledStringPtr StringPool::intern(
const StringRef &
Key) {
+PooledStringPtr StringPool::intern(
StringRef
Key) {
table_t::iterator I = InternTable.find(Key);
if (I != InternTable.end())
return PooledStringPtr(&*I);
table_t::iterator I = InternTable.find(Key);
if (I != InternTable.end())
return PooledStringPtr(&*I);