isLabelType is obsolete

llvm-svn: 2175
This commit is contained in:
Chris Lattner 2002-04-08 21:59:08 +00:00
parent 3734fe4f35
commit 8e421f454d
2 changed files with 2 additions and 2 deletions

View File

@ -116,7 +116,7 @@ void BBLiveVar::calcDefUseSets() {
assert(MI->getOpCode() != PHI && "Phi cannot have implicit opeands");
const Value *Op = MI->getImplicitRef(i);
if (Op->getType()->isLabelType()) // don't process labels
if (Op->getType() == Type::LabelTy) // don't process labels
continue;
if (!MI->implicitRefIsDefined(i))

View File

@ -170,7 +170,7 @@ struct InstPlaceHolderHelper : public Instruction {
struct BBPlaceHolderHelper : public BasicBlock {
BBPlaceHolderHelper(const Type *Ty) : BasicBlock() {
assert(Ty->isLabelType());
assert(Ty == Type::LabelTy);
}
};