Skip to content

Commit cd75a68

Browse files
committed
[ownership] Fix a small thinko I made when changing InteriorPointerOperandKind to use an Invalid case instead of an Optional.
1 parent 09634d6 commit cd75a68

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

include/swift/SIL/OwnershipUtils.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -520,7 +520,6 @@ class InteriorPointerOperandKind {
520520
InteriorPointerOperandKind(Kind newValue) : value(newValue) {}
521521

522522
operator Kind() const {
523-
assert(isValid());
524523
return value;
525524
}
526525

0 commit comments

Comments
 (0)