Wrap assert loops in #ifndef NDEBUG
authorPete Cooper <peter_cooper@apple.com>
Fri, 26 Jun 2015 19:23:20 +0000 (19:23 +0000)
committerPete Cooper <peter_cooper@apple.com>
Fri, 26 Jun 2015 19:23:20 +0000 (19:23 +0000)
commita5d25f61ae93e088a103442614a6fa3444176735
tree61e3aa6e0a5244c0457f55912143d7c5f19abd54
parente0e37a2382b125053fd766ac2c7fbc705e2c9d25
Wrap assert loops in #ifndef NDEBUG

The body of the loops here only contained asserts.  This triggered an unused variable
warning on release builds and -Werror on the bots.

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