diff options
author | Matt Beaumont-Gay <matthewbg@google.com> | 2011-06-17 22:21:12 +0000 |
---|---|---|
committer | Matt Beaumont-Gay <matthewbg@google.com> | 2011-06-17 22:21:12 +0000 |
commit | c3dfb5fa89a88ea7e1ec37d5bfde66dbbf0dc738 (patch) | |
tree | 37cc0ebe4e4b7148f2d23adabe601f5bed4807fb | |
parent | 4fdf57b0b253b0573a6b3dce59ffe3f2d3989210 (diff) | |
download | bcm5719-llvm-c3dfb5fa89a88ea7e1ec37d5bfde66dbbf0dc738.tar.gz bcm5719-llvm-c3dfb5fa89a88ea7e1ec37d5bfde66dbbf0dc738.zip |
Fix -Asserts build
llvm-svn: 133305
-rw-r--r-- | llvm/lib/AsmParser/LLParser.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/llvm/lib/AsmParser/LLParser.cpp b/llvm/lib/AsmParser/LLParser.cpp index 9096120c2d1..59725b7ac83 100644 --- a/llvm/lib/AsmParser/LLParser.cpp +++ b/llvm/lib/AsmParser/LLParser.cpp @@ -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 '" + |