[block-freq] Remove old BlockFrequency entry frequency and printing code.
[oota-llvm.git] / lib / Support / StringPool.cpp
index 1ee917f119f7e446538cfa395715043f9bf93877..ff607cf8c4adddee0547868a6b03567febc77185 100644 (file)
@@ -22,7 +22,7 @@ StringPool::~StringPool() {
   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);