commit | 4f4cf99a8662b4ee989c3ead691ba586221ea44b | [log] [tgz] |
---|---|---|
author | Alkis Evlogimenos <alkis@evlogimenos.com> | Sat Dec 04 02:30:42 2004 +0000 |
committer | Alkis Evlogimenos <alkis@evlogimenos.com> | Sat Dec 04 02:30:42 2004 +0000 |
tree | 83a768dc918fed6fd010ba64017e5c32201768cc | |
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