Skip to content

Commit b6985b5

Browse files
committed
Build fix: React to API changes in ReflectionMetadataBuilder
NFC.
1 parent f24f445 commit b6985b5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/IRGen/GenReflection.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -475,7 +475,7 @@ class CaptureDescriptorBuilder : public ReflectionMetadataBuilder {
475475
HeapLayout &Layout;
476476
public:
477477
CaptureDescriptorBuilder(IRGenModule &IGM,
478-
SmallPtrSetImpl<CanType> &BuiltinTypes,
478+
llvm::SetVector<CanType> &BuiltinTypes,
479479
SILFunction &Callee,
480480
HeapLayout &Layout)
481481
: ReflectionMetadataBuilder(IGM, BuiltinTypes),
@@ -746,7 +746,7 @@ llvm::Constant *IRGenModule::getAddrOfStringForTypeRef(StringRef Str) {
746746

747747
llvm::Constant *IRGenModule::getAddrOfCaptureDescriptor(SILFunction &SILFn,
748748
HeapLayout &Layout) {
749-
SmallPtrSet<CanType, 1> BuiltinTypes;
749+
llvm::SetVector<CanType> BuiltinTypes;
750750
CaptureDescriptorBuilder builder(*this, BuiltinTypes, SILFn, Layout);
751751

752752
auto var = builder.emit();

0 commit comments

Comments
 (0)