Frits van Bommel a4805cf6ef Fix PR 4170 by having ExtractValueInst::getIndexedType() reject out-of-bounds indexing.
Also add asserts that the indices are valid in InsertValueInst::init(). ExtractValueInst already asserts when constructed with invalid indices.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@120956 91177308-0d34-0410-b5e6-96231b3b80d8
2010-12-05 20:50:26 +00:00
..
2010-11-29 18:16:10 +00:00
2010-12-04 15:28:22 +00:00
2010-11-29 18:16:10 +00:00
2010-11-29 18:16:10 +00:00
2010-10-12 00:15:27 +00:00
2010-11-29 18:16:10 +00:00
2010-11-29 18:16:10 +00:00
2010-11-29 18:16:10 +00:00
2010-04-19 15:42:05 +00:00
2010-07-19 14:48:15 +00:00
2010-11-11 21:51:44 +00:00
2010-09-15 00:52:23 +00:00