Code size: copy_addr outline part 2 - Support Archetypes

This commit is contained in:
Joe Shajrawi
2017-11-02 14:21:42 -07:00
parent 18b0240f02
commit 5aff0891b7
22 changed files with 698 additions and 200 deletions

View File

@@ -307,6 +307,10 @@ namespace irgen {
/// Get the runtime identifier for a special protocol, if any.
SpecialProtocol getSpecialProtocolID(ProtocolDecl *P);
/// Use the argument as the 'self' type metadata.
void getArgAsLocalSelfTypeMetadata(IRGenFunction &IGF, llvm::Value *arg,
CanType abstractType);
} // end namespace irgen
} // end namespace swift