We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0c0a963 commit 2a199e8Copy full SHA for 2a199e8
lib/IRGen/GenArchetype.cpp
@@ -284,8 +284,7 @@ const TypeInfo *TypeConverter::convertArchetypeType(ArchetypeType *archetype) {
284
285
// If the archetype is class-constrained, use a class pointer
286
// representation.
287
- if (archetype->requiresClass() ||
288
- (layout && layout->isRefCounted())) {
+ if (layout && layout->isRefCounted()) {
289
auto refcount = archetype->getReferenceCounting();
290
291
llvm::PointerType *reprTy;
0 commit comments