mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-10-19 02:52:53 +02:00
Fix a GCC build failure from r223802
llvm-svn: 223806
This commit is contained in:
parent
279565eead
commit
8c28346293
@ -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");
|
||||
|
Loading…
Reference in New Issue
Block a user