[CodeGen] Get rid of NDEBUG to ensure structure stability.
authorDavide Italiano <davide@freebsd.org>
Sat, 24 Oct 2015 22:09:54 +0000 (22:09 +0000)
committerDavide Italiano <davide@freebsd.org>
Sat, 24 Oct 2015 22:09:54 +0000 (22:09 +0000)
commit548219a599d722393fb9b03782466caad2591127
tree4f4be6053a3ed1fc7576f401551080c07759031e
parentf811b16da3a4ea5019d4dbfed7b6a161480e05af
[CodeGen] Get rid of NDEBUG to ensure structure stability.

I think it's fine to keep this fields around in terms of overhead,
I wasn't able to measure any substantial regression while running the
test suite, but, in case this causes some regression I'm ready to revert
and work on an alternative solution.
This was tested building with clang/gcc both in Debug and Release mode
and passes the test-suite.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@251209 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/CodeGen/SelectionDAG.h
include/llvm/CodeGen/SelectionDAGNodes.h