Skip to content

Commit c36b6d0

Browse files
committed
IRGen: Small cleanup
1 parent 49798ef commit c36b6d0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/IRGen/MetadataRequest.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1172,11 +1172,11 @@ static llvm::Constant *emitEmptyTupleTypeMetadataRef(IRGenModule &IGM) {
11721172
static MetadataResponse emitDynamicTupleTypeMetadataRef(IRGenFunction &IGF,
11731173
CanTupleType type,
11741174
DynamicMetadataRequest request) {
1175-
SmallVector<Type, 2> types;
1175+
SmallVector<CanType, 2> types;
11761176
types.append(type.getElementTypes().begin(),
11771177
type.getElementTypes().end());
11781178

1179-
CanPackType packType = CanPackType(PackType::get(IGF.IGM.Context, types));
1179+
CanPackType packType = CanPackType::get(IGF.IGM.Context, types);
11801180

11811181
auto *shapeExpression = IGF.emitPackShapeExpression(packType);
11821182
auto addr = emitTypeMetadataPack(IGF, packType, MetadataState::Abstract);

0 commit comments

Comments
 (0)