@@ -235,34 +235,34 @@ bool SILFunction::isNoReturnFunction() const {
235
235
const TypeLowering &
236
236
SILFunction::getTypeLowering (AbstractionPattern orig, Type subst) {
237
237
return getModule ().Types .getTypeLowering (orig, subst,
238
- getResilienceExpansion ( ));
238
+ TypeExpansionContext (* this ));
239
239
}
240
240
241
241
const TypeLowering &SILFunction::getTypeLowering (Type t) const {
242
- return getModule ().Types .getTypeLowering (t, getResilienceExpansion ( ));
242
+ return getModule ().Types .getTypeLowering (t, TypeExpansionContext (* this ));
243
243
}
244
244
245
245
SILType
246
246
SILFunction::getLoweredType (AbstractionPattern orig, Type subst) const {
247
247
return getModule ().Types .getLoweredType (orig, subst,
248
- getResilienceExpansion ( ));
248
+ TypeExpansionContext (* this ));
249
249
}
250
250
251
251
SILType SILFunction::getLoweredType (Type t) const {
252
- return getModule ().Types .getLoweredType (t, getResilienceExpansion ( ));
252
+ return getModule ().Types .getLoweredType (t, TypeExpansionContext (* this ));
253
253
}
254
254
255
255
SILType SILFunction::getLoweredLoadableType (Type t) const {
256
256
auto &M = getModule ();
257
- return M.Types .getLoweredLoadableType (t, getResilienceExpansion ( ), M);
257
+ return M.Types .getLoweredLoadableType (t, TypeExpansionContext (* this ), M);
258
258
}
259
259
260
260
const TypeLowering &SILFunction::getTypeLowering (SILType type) const {
261
- return getModule ().Types .getTypeLowering (type, getResilienceExpansion ( ));
261
+ return getModule ().Types .getTypeLowering (type, TypeExpansionContext (* this ));
262
262
}
263
263
264
264
bool SILFunction::isTypeABIAccessible (SILType type) const {
265
- return getModule ().isTypeABIAccessible (type, getResilienceExpansion ( ));
265
+ return getModule ().isTypeABIAccessible (type, TypeExpansionContext (* this ));
266
266
}
267
267
268
268
bool SILFunction::isWeakImported () const {
0 commit comments