From: Chris Lattner Date: Tue, 19 Nov 2002 17:10:14 +0000 (+0000) Subject: Ignore options that are "" X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=af43b64d12b089b41ca691e2a30c0bde2bbab97e;p=oota-llvm.git Ignore options that are "" git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4757 91177308-0d34-0410-b5e6-96231b3b80d8 --- 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);