mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-08-23 17:29:19 +00:00
Fix a GCC build failure from r223802
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@223806 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
eaf5997921
commit
973ce33e23
@ -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