mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
SILOptimizer: Add some FIXMEs and a cleanup
This commit is contained in:
@@ -365,6 +365,7 @@ computeNewArgInterfaceTypes(SILFunction *F,
|
||||
assert(paramBoxTy->getLayout()->getFields().size() == 1
|
||||
&& "promoting compound box not implemented yet");
|
||||
auto paramBoxedTy = paramBoxTy->getFieldType(F->getModule(), 0);
|
||||
// FIXME: Expansion
|
||||
auto ¶mTL = Types.getTypeLowering(paramBoxedTy,
|
||||
ResilienceExpansion::Minimal);
|
||||
ParameterConvention convention;
|
||||
|
||||
Reference in New Issue
Block a user