mirror of
https://github.com/RPCS3/llvm.git
synced 2025-02-15 08:19:51 +00:00
[ORC] Fix an assertion condition from r329934.
Thanks to Alexander Ivchenko for finding the issue! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@330359 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
6b49fde581
commit
52d1558d20
@ -410,8 +410,8 @@ Error VSO::defineLazy(std::unique_ptr<MaterializationUnit> MU) {
|
||||
for (auto &KV : UMII->Symbols) {
|
||||
auto I = Symbols.find(KV.first);
|
||||
|
||||
assert(I == Symbols.end() ||
|
||||
!I->second.Flags.isMaterializing() &&
|
||||
assert((I == Symbols.end() ||
|
||||
!I->second.Flags.isMaterializing()) &&
|
||||
"Attempt to replace materializing symbol definition");
|
||||
|
||||
auto LinkageResult = compareLinkage(
|
||||
|
Loading…
x
Reference in New Issue
Block a user