| commit | 16ebe77be097ae49111c80c7a2c4290025a80d94 | [log] [tgz] |
|---|---|---|
| author | Frits van Bommel <fvbommel@gmail.com> | Sun Dec 05 20:50:26 2010 +0000 |
| committer | Frits van Bommel <fvbommel@gmail.com> | Sun Dec 05 20:50:26 2010 +0000 |
| tree | 87aa30e7d462e68ff2516ebf51acf627459c7577 | |
| parent | c5f57830443d93ad7b041dce8b802fc864b47849 [diff] |
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. llvm-svn: 120956