[llvm-commits] [PATCH] Guard new STATISTICs with #ifndef NDEBUG
Devang Patel
dpatel at apple.com
Tue Oct 26 10:37:27 PDT 2010
Thanks!
On Oct 25, 2010, at 5:55 PM, Nick Lewycky wrote:
> Committed in revision 117345. Thanks for the patch!
>
> Nick
>
> On 25 October 2010 16:44, Matt Beaumont-Gay <matthewbg at google.com> wrote:
> With -Wall -Werror -DNDEBUG, gcc complains:
> lib/CodeGen/AsmPrinter/DwarfDebug.cpp:56: error: 'BlocksWithoutLineNo'
> defined but not used [-Wunused-variable]
> lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp:59: error:
> 'NumBBWithOutOfOrderLineInfo' defined but not used [-Wunused-variable]
> lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp:61: error:
> 'NumMBBWithOutOfOrderLineInfo' defined but not used
> [-Wunused-variable]
>
> -Matt
>
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
>
>
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20101026/c03ce42f/attachment.html>
More information about the llvm-commits
mailing list