Skip to content

Commit ee36335

Browse files
committed
Merge remote-tracking branch 'origin/master' into master-rebranch
2 parents fbd9836 + cd2e1f5 commit ee36335

File tree

2 files changed

+0
-5
lines changed

2 files changed

+0
-5
lines changed

include/swift/SIL/SILLocation.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,8 +69,6 @@ class SILLocation {
6969

7070
public:
7171
enum LocationKind : unsigned {
72-
// FIXME: NoneKind is to be removed.
73-
NoneKind = 0,
7472
RegularKind = 1,
7573
ReturnKind = 2,
7674
ImplicitReturnKind = 3,

lib/SIL/SILPrinter.cpp

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -760,9 +760,6 @@ class SILPrinter : public SILInstructionVisitor<SILPrinter> {
760760

761761
// Print the type of location.
762762
switch (L.getKind()) {
763-
case SILLocation::NoneKind:
764-
assert(L.isAutoGenerated() && "This kind shouldn't be printed.");
765-
break;
766763
case SILLocation::RegularKind:
767764
break;
768765
case SILLocation::ReturnKind:

0 commit comments

Comments
 (0)