aboutsummaryrefslogtreecommitdiffstats
path: root/include/llvm/Support/PassNameParser.h
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2006-12-01 22:00:50 +0000
committerChris Lattner <sabre@nondot.org>2006-12-01 22:00:50 +0000
commit5365489f6ce9d8c8d6c7227b1768bd372a37c158 (patch)
treea460f41d793b9addfde949b861b2fd70fa4974b9 /include/llvm/Support/PassNameParser.h
parentcd950a5308916f75e0faa6747151338750791fd7 (diff)
downloadexternal_llvm-5365489f6ce9d8c8d6c7227b1768bd372a37c158.tar.gz
external_llvm-5365489f6ce9d8c8d6c7227b1768bd372a37c158.tar.bz2
external_llvm-5365489f6ce9d8c8d6c7227b1768bd372a37c158.zip
remove 'target constructor' support.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32100 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 c3d4901700..6259257e04 100644
--- a/include/llvm/Support/PassNameParser.h
+++ b/include/llvm/Support/PassNameParser.h
@@ -57,8 +57,7 @@ public:
// Ignore non-selectable and non-constructible passes! Ignore
// non-optimizations.
return P->getPassArgument() == 0 || *P->getPassArgument() == 0 ||
- (P->getNormalCtor() == 0 && P->getTargetCtor() == 0) ||
- ignorablePassImpl(P);
+ P->getNormalCtor() == 0 || ignorablePassImpl(P);
}
// Implement the PassRegistrationListener callbacks used to populate our map