Skip to content
Commit be526cfb authored by Alkis Evlogimenos's avatar Alkis Evlogimenos
Browse files

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.

llvm-svn: 18484
parent b92de191
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment