File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -854,8 +854,8 @@ namespace {
854854 unsigned index = 0 ;
855855 for (auto elt : tupleTy.getElementTypes ()) {
856856 auto silElt = SILType::getPrimitiveType (elt, silTy.getCategory ());
857- // FIXME: Expansion
858- children.push_back (Child{index, M. Types . getTypeLowering (silElt) });
857+ auto &eltTL = M. Types . getTypeLowering (silElt, getResilienceExpansion ());
858+ children.push_back (Child{index, eltTL });
859859 ++index;
860860 }
861861 }
@@ -888,9 +888,9 @@ namespace {
888888 assert (structDecl);
889889
890890 for (auto prop : structDecl->getStoredProperties ()) {
891- SILType propTy = silTy.getFieldType (prop, M);
892- // FIXME: Expansion
893- children.push_back (Child{prop, M. Types . getTypeLowering (propTy) });
891+ SILType propTy = silTy.getFieldType (prop, M);
892+ auto &propTL = M. Types . getTypeLowering (propTy, getResilienceExpansion ());
893+ children.push_back (Child{prop, propTL });
894894 }
895895 }
896896 };
You can’t perform that action at this time.
0 commit comments