Support in-place value metadata initialization in the runtime.

This commit is contained in:
John McCall
2018-07-24 18:27:42 -04:00
parent e6fc5cb54e
commit dadb51e708
6 changed files with 340 additions and 15 deletions

View File

@@ -653,6 +653,13 @@ FUNCTION(GetForeignWitnessTable, swift_getForeignWitnessTable, C_CC,
ProtocolDescriptorPtrTy),
ATTRS(NoUnwind, ReadNone))
// MetadataResponse swift_getInPlaceMetadata(MetadataRequest request,
// TypeContextDescriptor *type);
FUNCTION(GetInPlaceMetadata, swift_getInPlaceMetadata, SwiftCC,
RETURNS(TypeMetadataResponseTy),
ARGS(SizeTy, TypeContextDescriptorPtrTy),
ATTRS(NoUnwind, ReadNone))
// MetadataResponse swift_getGenericMetadata(MetadataRequest request,
// const void * const *arguments,
// TypeContextDescriptor *type);