diff options
author | Richard Trieu <rtrieu@google.com> | 2013-01-24 04:29:24 +0000 |
---|---|---|
committer | Richard Trieu <rtrieu@google.com> | 2013-01-24 04:29:24 +0000 |
commit | 3ac907def807ab50561e03b1deea6e46749d5645 (patch) | |
tree | 02eb66aefe9b416627452eddd9607bf6470b3d07 /llvm/lib/Transforms/InstCombine/InstCombineCasts.cpp | |
parent | a2d76bce1f9f3176b52c9aec4a3bb1faf13a75ed (diff) | |
download | bcm5719-llvm-3ac907def807ab50561e03b1deea6e46749d5645.tar.gz bcm5719-llvm-3ac907def807ab50561e03b1deea6e46749d5645.zip |
Add asserts to SmallVector so that calls to front() and back() only succeed
if the vector is not empty. This will ensure that calls to these functions
will reference elements in the vector.
llvm-svn: 173321
Diffstat (limited to 'llvm/lib/Transforms/InstCombine/InstCombineCasts.cpp')
0 files changed, 0 insertions, 0 deletions