mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-24 21:05:23 +00:00
Fix -Asserts build
llvm-svn: 133305
This commit is contained in:
parent
0dc865af56
commit
d43d674bfb
@ -356,8 +356,7 @@ bool LLParser::ParseNamedType() {
|
||||
}
|
||||
|
||||
// Inserting a name that is already defined, get the existing name.
|
||||
const Type *Existing = M->getTypeByName(Name);
|
||||
assert(Existing && "Conflict but no matching type?!");
|
||||
assert(M->getTypeByName(Name) && "Conflict but no matching type?!");
|
||||
|
||||
// Otherwise, this is an attempt to redefine a type, report the error.
|
||||
return Error(NameLoc, "redefinition of type named '" + Name + "' of type '" +
|
||||
|
Loading…
x
Reference in New Issue
Block a user