Skip to content

Commit 65a0bef

Browse files
committed
---
yaml --- r: 347769 b: refs/heads/master c: da0ffcf h: refs/heads/master i: 347767: 3707717
1 parent d0a65da commit 65a0bef

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
refs/heads/master: 2c88968f597d20fba1176c4fe491553d6823251d
2+
refs/heads/master: da0ffcf6214d2b1d03a0c7e03bebcc329ec9accc
33
refs/heads/master-next: 203b3026584ecad859eb328b2e12490099409cd5
44
refs/tags/osx-passed: b6b74147ef8a386f532cf9357a1bde006e552c54
55
refs/tags/swift-2.2-SNAPSHOT-2015-12-01-a: 6bb18e013c2284f2b45f5f84f2df2887dc0f7dea

trunk/lib/SIL/SILVerifier.cpp

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -494,8 +494,10 @@ struct ImmutableAddressUseVerifier {
494494
while (!worklist.empty()) {
495495
auto *use = worklist.pop_back_val();
496496
auto *inst = use->getUser();
497+
497498
if (inst->isTypeDependentOperand(*use))
498499
continue;
500+
499501
switch (inst->getKind()) {
500502
case SILInstructionKind::MarkDependenceInst:
501503
case SILInstructionKind::LoadBorrowInst:
@@ -585,7 +587,8 @@ struct ImmutableAddressUseVerifier {
585587
}
586588
break;
587589
default:
588-
llvm_unreachable("Unhandled unexpected instruction");
590+
llvm::errs() << "Unhandled, unexpected instruction: " << *inst;
591+
llvm_unreachable("invoking standard assertion failure");
589592
break;
590593
}
591594
}

0 commit comments

Comments
 (0)