diff lib/Support/StringPool.cpp @ 77:54457678186b LLVM3.6

LLVM 3.6
author Kaito Tokumori <e105711@ie.u-ryukyu.ac.jp>
date Mon, 08 Sep 2014 22:06:00 +0900
parents 95c75e76d11b
children c2174574ed3a
line wrap: on
line diff
--- a/lib/Support/StringPool.cpp	Thu Dec 12 15:22:36 2013 +0900
+++ b/lib/Support/StringPool.cpp	Mon Sep 08 22:06:00 2014 +0900
@@ -27,7 +27,7 @@
   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);