Add an assertion to catch attempts to access off the end of the array.
authorDuncan Sands <baldrick@free.fr>
Mon, 10 May 2010 04:54:28 +0000 (04:54 +0000)
committerDuncan Sands <baldrick@free.fr>
Mon, 10 May 2010 04:54:28 +0000 (04:54 +0000)
commitad017dcb3a41bb053a6a5fa873d07222763dae75
tree173ded1f9afe8081a6e1bed1f6f48dd19a6c1c66
parent7505faf2254da21f4e1f40108301c3aa2b218f36
Add an assertion to catch attempts to access off the end of the array.
Based on a patch by Javier Martinez.

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