Simplify SelectionDAG::getNode so that a big switch stmt is not #ifndef
authorChris Lattner <sabre@nondot.org>
Tue, 22 Jan 2008 19:09:33 +0000 (19:09 +0000)
committerChris Lattner <sabre@nondot.org>
Tue, 22 Jan 2008 19:09:33 +0000 (19:09 +0000)
commit8e1f7ac87d75ffc02d2fd363a5a9c6d4c7089daf
tree691889a6483ccb69f83263c49f4c7a4a67e1e1a2
parent70c8650de0ee3033187561a3f2e8f1f706ec50c6
Simplify SelectionDAG::getNode so that a big switch stmt is not #ifndef
NDEBUG.  This is in response to a really nasty bug I introduced that
Dale tracked down, hopefully this won't happen in the future.
Many thanks Dale.

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