mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
Code size: copy_addr outline part 2 - Support Archetypes
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user