aboutsummaryrefslogtreecommitdiff
path: root/lib/AsmParser/ParserInternals.h
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2002-04-08 21:59:08 +0000
committerChris Lattner <sabre@nondot.org>2002-04-08 21:59:08 +0000
commitc8a79af27df2a24b2bb496997194aa35bba70432 (patch)
tree0e0f0595355a7de89e3c5f4ac241178b7730890b /lib/AsmParser/ParserInternals.h
parente6d4ec3d5a423028f466eb05bbcdb8d17280b84a (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.h2
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);
}
};