[llvm-commits] [llvm] r42047 - /llvm/trunk/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
Chris Lattner
clattner at apple.com
Mon Sep 17 13:06:33 PDT 2007
On Sep 17, 2007, at 1:03 PM, Devang Patel wrote:
> Author: dpatel
> Date: Mon Sep 17 15:03:03 2007
> New Revision: 42047
>
> URL: http://llvm.org/viewvc/llvm-project?rev=42047&view=rev
> Log:
> This is not ideal but unbreaks build failure.
> APInt::dump() is inside #ifndef NDEBUG, however SelectionDAG dump()
> routines are not.
APInt::dump should be pulled out of the ifdef, it should be
unconditionally available.
-Chris
> Modified:
> llvm/trunk/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
>
> Modified: llvm/trunk/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
> URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/CodeGen/
> SelectionDAG/SelectionDAG.cpp?rev=42047&r1=42046&r2=42047&view=diff
>
> ======================================================================
> ========
> --- llvm/trunk/lib/CodeGen/SelectionDAG/SelectionDAG.cpp (original)
> +++ llvm/trunk/lib/CodeGen/SelectionDAG/SelectionDAG.cpp Mon Sep 17
> 15:03:03 2007
> @@ -3720,7 +3720,9 @@
> cerr << "<" << CSDN->getValueAPF().convertToDouble() << ">";
> else {
> cerr << "<APFloat(";
> +#ifndef NDEBUG
> CSDN->getValueAPF().convertToAPInt().dump();
> +#endif
> cerr << ")>";
> }
> } else if (const GlobalAddressSDNode *GADN =
>
>
> _______________________________________________
> 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