mirror of
https://github.com/RPCSX/llvm.git
synced 2024-12-05 18:37:17 +00:00
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:
parent
e6d4ec3d5a
commit
c8a79af27d
@ -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))
|
||||
|
@ -170,7 +170,7 @@ struct InstPlaceHolderHelper : public Instruction {
|
||||
|
||||
struct BBPlaceHolderHelper : public BasicBlock {
|
||||
BBPlaceHolderHelper(const Type *Ty) : BasicBlock() {
|
||||
assert(Ty->isLabelType());
|
||||
assert(Ty == Type::LabelTy);
|
||||
}
|
||||
};
|
||||
|
||||
|
@ -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))
|
||||
|
Loading…
Reference in New Issue
Block a user