[llvm-commits] [llvm] r138748 - /llvm/trunk/lib/VMCore/PassManager.cpp
Benjamin Kramer
benny.kra at googlemail.com
Mon Aug 29 11:14:15 PDT 2011
Author: d0k
Date: Mon Aug 29 13:14:15 2011
New Revision: 138748
URL: http://llvm.org/viewvc/llvm-project?rev=138748&view=rev
Log:
Make GCC happy by adding parens.
Modified:
llvm/trunk/lib/VMCore/PassManager.cpp
Modified: llvm/trunk/lib/VMCore/PassManager.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/VMCore/PassManager.cpp?rev=138748&r1=138747&r2=138748&view=diff
==============================================================================
--- llvm/trunk/lib/VMCore/PassManager.cpp (original)
+++ llvm/trunk/lib/VMCore/PassManager.cpp Mon Aug 29 13:14:15 2011
@@ -1774,8 +1774,8 @@
PM->setDepth(this->top()->getDepth()+1);
}
else {
- assert(PM->getPassManagerType() == PMT_ModulePassManager
- || PM->getPassManagerType() == PMT_FunctionPassManager
+ assert((PM->getPassManagerType() == PMT_ModulePassManager
+ || PM->getPassManagerType() == PMT_FunctionPassManager)
&& "pushing bad pass manager to PMStack");
PM->setDepth(1);
}
More information about the llvm-commits
mailing list