From f3d15b0b3791d746d44d99b05d3bcb2e9bdf0eb3 Mon Sep 17 00:00:00 2001 From: Roman Divacky Date: Thu, 15 Jul 2010 17:06:11 +0000 Subject: Update LLVM to r108428. --- lib/Support/StringPool.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/Support/StringPool.cpp') diff --git a/lib/Support/StringPool.cpp b/lib/Support/StringPool.cpp index 1ee917f119f7e..ff607cf8c4add 100644 --- a/lib/Support/StringPool.cpp +++ b/lib/Support/StringPool.cpp @@ -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); -- cgit v1.2.3