Capture complete associated type substitution information in the AST.

Previously, we only tracked the mapping from associated types to their
type witnesses. Now, also track the protocol conformances for each of
the requirements placed on the associated types.


Swift SVN r6655
This commit is contained in:
Doug Gregor
2013-07-26 22:04:53 +00:00
parent 27cbda9290
commit 709882c2b8
10 changed files with 92 additions and 72 deletions

View File

@@ -369,7 +369,8 @@ namespace decls_block {
using BoundGenericSubstitutionLayout = BCRecordLayout<
BOUND_GENERIC_SUBSTITUTION,
TypeIDField, // archetype
TypeIDField // replacement
TypeIDField, // replacement
BCVBR<6> // # of conformances
// Trailed by the protocol conformance info (if any)
>;