isLabelType is obsolete

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2175 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner 2002-04-08 21:59:08 +00:00
parent e6d4ec3d5a
commit c8a79af27d
3 changed files with 3 additions and 3 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);
}
};

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))