summaryrefslogtreecommitdiffstats
path: root/llvm/lib/IR
diff options
context:
space:
mode:
authorDavid Majnemer <david.majnemer@gmail.com>2015-07-10 07:00:58 +0000
committerDavid Majnemer <david.majnemer@gmail.com>2015-07-10 07:00:58 +0000
commit1d3fe98d57be5bcaff529f80122f1389bad8d683 (patch)
tree9015fac815f74940a926828230ff6b3aa570d34d /llvm/lib/IR
parentae2ffc8a8c825acf46f58f20dc7d0ae5fecbdd0b (diff)
downloadbcm5719-llvm-1d3fe98d57be5bcaff529f80122f1389bad8d683.tar.gz
bcm5719-llvm-1d3fe98d57be5bcaff529f80122f1389bad8d683.zip
Address Reid's review feedback.
llvm-svn: 241889
Diffstat (limited to 'llvm/lib/IR')
-rw-r--r--llvm/lib/IR/Verifier.cpp4
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!",
OpenPOWER on IntegriCloud