diff options
author | Chris Lattner <sabre@nondot.org> | 2002-04-08 21:59:08 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2002-04-08 21:59:08 +0000 |
commit | c8a79af27df2a24b2bb496997194aa35bba70432 (patch) | |
tree | 0e0f0595355a7de89e3c5f4ac241178b7730890b /lib/AsmParser/ParserInternals.h | |
parent | e6d4ec3d5a423028f466eb05bbcdb8d17280b84a (diff) |
isLabelType is obsolete
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2175 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/AsmParser/ParserInternals.h')
-rw-r--r-- | lib/AsmParser/ParserInternals.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/AsmParser/ParserInternals.h b/lib/AsmParser/ParserInternals.h index 2291a5a975..8b10c36e60 100644 --- a/lib/AsmParser/ParserInternals.h +++ b/lib/AsmParser/ParserInternals.h @@ -170,7 +170,7 @@ struct InstPlaceHolderHelper : public Instruction { struct BBPlaceHolderHelper : public BasicBlock { BBPlaceHolderHelper(const Type *Ty) : BasicBlock() { - assert(Ty->isLabelType()); + assert(Ty == Type::LabelTy); } }; |