mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
SIL: Plumb TypeExpansionContext through SIL
This commit is contained in:
@@ -186,7 +186,7 @@ static bool isTypeMetadataForLayoutAccessible(SILModule &M, SILType type) {
|
||||
/// ABI-private, we can always at least fetch its metadata and use the
|
||||
/// value witness table stored there.
|
||||
bool SILModule::isTypeABIAccessible(SILType type,
|
||||
ResilienceExpansion forExpansion) {
|
||||
TypeExpansionContext forExpansion) {
|
||||
// Fixed-ABI types can have value operations done without metadata.
|
||||
if (Types.getTypeLowering(type, forExpansion).isFixedABI())
|
||||
return true;
|
||||
|
||||
Reference in New Issue
Block a user