Skip to content

Commit 7e6ece6

Browse files
committed
IRGen: It appears parent type metadata is filled in correctly now
1 parent 612991e commit 7e6ece6

File tree

2 files changed

+0
-4
lines changed

2 files changed

+0
-4
lines changed

lib/IRGen/Fulfillment.cpp

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -212,9 +212,6 @@ bool FulfillmentMap::searchParentTypeMetadata(IRGenModule &IGM,
212212
// We might not have a parent type.
213213
if (!parent) return false;
214214

215-
// Only class types properly initialize their parent type.
216-
if (!isa<ClassDecl>(decl)) return false;
217-
218215
// If we do, it has to be nominal one way or another.
219216
path.addNominalParentComponent();
220217
return searchTypeMetadata(IGM, parent, IsExact, source, std::move(path),keys);

lib/IRGen/GenMeta.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,6 @@ namespace {
157157
/// the fill operations that the compiler emits for the bound decl.
158158
///
159159
/// FIXME: Rework to use GenericSignature instead of AllArchetypes
160-
/// FIXME: Rework for nested generics
161160
struct GenericArguments {
162161
/// The values to use to initialize the arguments structure.
163162
SmallVector<llvm::Value *, 8> Values;

0 commit comments

Comments
 (0)