Add a 'WitnessMethod' enumerator to AbstractCC.

We'll use this to represent the slightly-different polymorphic calling convention used for passing Self into protocol witnesses.

Swift SVN r10898
This commit is contained in:
Joe Groff
2013-12-06 01:32:35 +00:00
parent 651f858dbb
commit 0ff977d407
16 changed files with 45 additions and 23 deletions

View File

@@ -69,9 +69,10 @@ enum AbstractCC : uint8_t {
C = 0,
ObjCMethod,
Freestanding,
Method
Method,
WitnessMethod,
};
using AbstractCCField = BCFixed<2>;
using AbstractCCField = BCFixed<3>;
// These IDs must \em not be renumbered or reordered without incrementing
// VERSION_MAJOR.