diff options
Diffstat (limited to 'llvm/lib/IR/Verifier.cpp')
-rw-r--r-- | llvm/lib/IR/Verifier.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/IR/Verifier.cpp b/llvm/lib/IR/Verifier.cpp index b6df70869b5..cc7d662d759 100644 --- a/llvm/lib/IR/Verifier.cpp +++ b/llvm/lib/IR/Verifier.cpp @@ -2408,8 +2408,8 @@ void Verifier::visitCallInst(CallInst &CI) { void Verifier::visitInvokeInst(InvokeInst &II) { VerifyCallSite(&II); - // Verify that there is an exception block instruction is the first non-PHI - // instruction of the 'unwind' destination. + // Verify that the first non-PHI instruction of the unwind destination is an + // exception handling instruction. Assert( II.getUnwindDest()->isEHBlock(), "The unwind destination does not have an exception handling instruction!", |