diff options
author | David Blaikie <dblaikie@gmail.com> | 2013-03-08 21:08:23 +0000 |
---|---|---|
committer | David Blaikie <dblaikie@gmail.com> | 2013-03-08 21:08:23 +0000 |
commit | 5846239e1669f8047ad095f18d05e4a04bd61079 (patch) | |
tree | dbaea486ac8b000547343821e609407ffe304da5 /llvm/lib/Analysis/MemoryBuiltins.cpp | |
parent | d974524d3da2cb17dda908e7a78d3542e4c67ef6 (diff) | |
download | bcm5719-llvm-5846239e1669f8047ad095f18d05e4a04bd61079.tar.gz bcm5719-llvm-5846239e1669f8047ad095f18d05e4a04bd61079.zip |
Assert to bounds check MDNode::getOperand.
The getOperandPtr utility already bounds checks, but allows one-off-the-end.
This assert should catch the cases that could previously have been dereferencing
these one-off-the-end pointer. Happily, no cases of this came up with this
change.
llvm-svn: 176721
Diffstat (limited to 'llvm/lib/Analysis/MemoryBuiltins.cpp')
0 files changed, 0 insertions, 0 deletions