Fix a GCC build failure from r223802

llvm-svn: 223806
This commit is contained in:
Duncan P. N. Exon Smith 2014-12-09 18:52:38 +00:00
parent 5d388e111a
commit 562283189d
1 changed files with 2 additions and 1 deletions

View File

@ -341,7 +341,8 @@ MDString *MDString::get(LLVMContext &Context, StringRef Str) {
if (I != Store.end())
return &I->second;
auto *Entry = StringMapEntry<MDString>::Create(Str, Store.getAllocator());
auto *Entry =
StringMapEntry<MDString>::Create(Str, Store.getAllocator(), MDString());
bool WasInserted = Store.insert(Entry);
(void)WasInserted;
assert(WasInserted && "Expected entry to be inserted");