| commit | 8e421f454dea3a5d1e34d2b186808406991f9873 | [log] [tgz] |
|---|---|---|
| author | Chris Lattner <sabre@nondot.org> | Mon Apr 08 21:59:08 2002 +0000 |
| committer | Chris Lattner <sabre@nondot.org> | Mon Apr 08 21:59:08 2002 +0000 |
| tree | f1bfdccc42581b9eccaa006b7a770ff43dff1243 | |
| parent | 3734fe4f359f2a9f6b3598d7c45a6bc5485c3f6a [diff] |
isLabelType is obsolete llvm-svn: 2175
diff --git a/llvm/lib/AsmParser/ParserInternals.h b/llvm/lib/AsmParser/ParserInternals.h index 2291a5a..8b10c36 100644 --- a/llvm/lib/AsmParser/ParserInternals.h +++ b/llvm/lib/AsmParser/ParserInternals.h
@@ -170,7 +170,7 @@ struct BBPlaceHolderHelper : public BasicBlock { BBPlaceHolderHelper(const Type *Ty) : BasicBlock() { - assert(Ty->isLabelType()); + assert(Ty == Type::LabelTy); } };