From af43b64d12b089b41ca691e2a30c0bde2bbab97e Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Tue, 19 Nov 2002 17:10:14 +0000 Subject: [PATCH] Ignore options that are "" git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4757 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/llvm/Support/PassNameParser.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/llvm/Support/PassNameParser.h b/include/llvm/Support/PassNameParser.h index 81242c3b378..43561ec671b 100644 --- a/include/llvm/Support/PassNameParser.h +++ b/include/llvm/Support/PassNameParser.h @@ -46,7 +46,7 @@ public: inline bool ignorablePass(const PassInfo *P) const { // Ignore non-selectable and non-constructible passes! Ignore // non-optimizations. - return P->getPassArgument() == 0 || + return P->getPassArgument() == 0 || *P->getPassArgument() == 0 || (P->getNormalCtor() == 0 && P->getDataCtor() == 0 && P->getTargetCtor() == 0) || ignorablePassImpl(P); -- 2.34.1