summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms/InstCombine/InstCombineCasts.cpp
diff options
context:
space:
mode:
authorRichard Trieu <rtrieu@google.com>2013-01-24 04:29:24 +0000
committerRichard Trieu <rtrieu@google.com>2013-01-24 04:29:24 +0000
commit3ac907def807ab50561e03b1deea6e46749d5645 (patch)
tree02eb66aefe9b416627452eddd9607bf6470b3d07 /llvm/lib/Transforms/InstCombine/InstCombineCasts.cpp
parenta2d76bce1f9f3176b52c9aec4a3bb1faf13a75ed (diff)
downloadbcm5719-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
OpenPOWER on IntegriCloud