implement SILGen and IRGen support for witness table generation of non-objc optional

protocol requirements.  Not testable because sema doesn't allow these to exist.


Swift SVN r21513
This commit is contained in:
Chris Lattner
2014-08-28 04:20:02 +00:00
parent 84de9c6763
commit 50979a2ff4
5 changed files with 50 additions and 8 deletions

View File

@@ -122,6 +122,7 @@ SILWitnessTable::~SILWitnessTable() {
case AssociatedType:
case AssociatedTypeProtocol:
case BaseProtocol:
case MissingOptional:
case Invalid:
break;
}
@@ -145,6 +146,7 @@ void SILWitnessTable::convertToDefinition(ArrayRef<Entry> entries) {
case AssociatedType:
case AssociatedTypeProtocol:
case BaseProtocol:
case MissingOptional:
case Invalid:
break;
}