For statistics that are only used in functions declared in !NDEBUG, wrap the
commita568d66512759f93e0d37af7c8f905603dd27449
authorNick Lewycky <nicholas@mxc.ca>
Tue, 26 Oct 2010 00:51:57 +0000 (26 00:51 +0000)
committerNick Lewycky <nicholas@mxc.ca>
Tue, 26 Oct 2010 00:51:57 +0000 (26 00:51 +0000)
treecb1cfcd1be047e181bcd69c40fac481c618630ed
parent0a12b801b546269b87c3806c6d4606cf2b287daa
For statistics that are only used in functions declared in !NDEBUG, wrap the
declarations in !NDEBUG to avoid -Wunused-variable warnings. Patch by
Matt Beaumont-Gay!

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@117345 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/AsmPrinter/DwarfDebug.cpp
lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp