[llvm-commits] [llvm] r138748 - /llvm/trunk/lib/VMCore/PassManager.cpp
Bill Wendling
wendling at apple.com
Mon Aug 29 11:28:34 PDT 2011
On Aug 29, 2011, at 11:14 AM, Benjamin Kramer wrote:
> 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.
>
It makes me happy to. :-)
-bw
> 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);
> }
>
>
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
More information about the llvm-commits
mailing list