aboutsummaryrefslogtreecommitdiff
path: root/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
commit0ac7e6f293bc502b39005496d2160b0089d3fa46 (patch)
treec428db8b20cb732667d7d1c9e51599cee6c52f2f /lib/Transforms/InstCombine/InstCombineCasts.cpp
parent8453b3f66a3c3200ea828491ef5cf162db9ccfb2 (diff)
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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@173321 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Transforms/InstCombine/InstCombineCasts.cpp')
0 files changed, 0 insertions, 0 deletions