Skip to content

Commit

Permalink
Merge pull request swiftlang#30114 from gottesmm/pr-a9bbea2749a2e9354…
Browse files Browse the repository at this point in the history
…a42654ce36dd0cacddb4e03
  • Loading branch information
swift-ci authored Feb 28, 2020
2 parents ea9806d + 63db25e commit 0a855a3
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion lib/SIL/OperandOwnership.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,9 @@ class OperandOwnershipKindClassifier
#define SHOULD_NEVER_VISIT_INST(INST) \
OperandOwnershipKindMap OperandOwnershipKindClassifier::visit##INST##Inst( \
INST##Inst *i) { \
llvm_unreachable("Visited instruction that should never be visited?!"); \
llvm::errs() << "Unhandled inst: " << *i; \
llvm::report_fatal_error( \
"Visited instruction that should never be visited?!"); \
}
SHOULD_NEVER_VISIT_INST(AllocBox)
SHOULD_NEVER_VISIT_INST(AllocExistentialBox)
Expand Down

0 comments on commit 0a855a3

Please sign in to comment.