For statistics that are only used in functions declared in !NDEBUG, wrap the
commit4402af69903becaeb7204583a5e202c1766d6608
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
parent8854def9ffef9673dfcf34ed151ae53b4b3371ee
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