summaryrefslogtreecommitdiff
path: root/include/llvm/Support/PassNameParser.h
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2003-04-24 18:41:30 +0000
committerChris Lattner <sabre@nondot.org>2003-04-24 18:41:30 +0000
commitbaf64b1e1c1537502f84bdd74893cb72fce6a0bb (patch)
tree163f4f889ef25856edf23bfc157fefeaa74394da /include/llvm/Support/PassNameParser.h
parentc986392c30043c056608b06ddf2f10fdd35a8d5e (diff)
downloadllvm-baf64b1e1c1537502f84bdd74893cb72fce6a0bb.tar.gz
llvm-baf64b1e1c1537502f84bdd74893cb72fce6a0bb.tar.bz2
llvm-baf64b1e1c1537502f84bdd74893cb72fce6a0bb.tar.xz
Remove support for "targetdata pass ctors"
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5901 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Support/PassNameParser.h')
-rw-r--r--include/llvm/Support/PassNameParser.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/include/llvm/Support/PassNameParser.h b/include/llvm/Support/PassNameParser.h
index c35f762cb8..c324161f30 100644
--- a/include/llvm/Support/PassNameParser.h
+++ b/include/llvm/Support/PassNameParser.h
@@ -48,8 +48,7 @@ public:
// Ignore non-selectable and non-constructible passes! Ignore
// non-optimizations.
return P->getPassArgument() == 0 || *P->getPassArgument() == 0 ||
- (P->getNormalCtor() == 0 && P->getDataCtor() == 0 &&
- P->getTargetCtor() == 0) ||
+ (P->getNormalCtor() == 0 && P->getTargetCtor() == 0) ||
ignorablePassImpl(P);
}