diff options
author | Alkis Evlogimenos <alkis@evlogimenos.com> | 2004-12-04 02:30:42 +0000 |
---|---|---|
committer | Alkis Evlogimenos <alkis@evlogimenos.com> | 2004-12-04 02:30:42 +0000 |
commit | 4f4cf99a8662b4ee989c3ead691ba586221ea44b (patch) | |
tree | 83a768dc918fed6fd010ba64017e5c32201768cc /lib/Bytecode | |
parent | 8b42b43dc24266beb8427acb7d3779dce432496a (diff) |
Check if a block has a terminator first before calling front() on
it. If a block has a terminator then it is certainly non-empty so the
verifier will not crash on it.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18484 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Bytecode')
0 files changed, 0 insertions, 0 deletions