mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-08-07 12:28:24 +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:
@@ -341,7 +341,8 @@ MDString *MDString::get(LLVMContext &Context, StringRef Str) {
|
|||||||
if (I != Store.end())
|
if (I != Store.end())
|
||||||
return &I->second;
|
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);
|
bool WasInserted = Store.insert(Entry);
|
||||||
(void)WasInserted;
|
(void)WasInserted;
|
||||||
assert(WasInserted && "Expected entry to be inserted");
|
assert(WasInserted && "Expected entry to be inserted");
|
||||||
|
Reference in New Issue
Block a user