File tree Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -509,7 +509,12 @@ bool CrossModuleOptimization::canSerializeFunction(
509
509
M.reclaimUnresolvedLocalArchetypeDefinitions ();
510
510
return false ;
511
511
}
512
- if (inst.getModule ().getSwiftModule ()->getBaseIdentifier ().str () == " SwiftSDKCommand" ) {
512
+ if (inst.getModule ().getSwiftModule ()->getBaseIdentifier ().str () == " TSCUtility" &&
513
+ inst.getFunction ()->getName ().contains (" ProgressAnimationProtocol" ) &&
514
+ inst.getFunction ()->getName ().contains (" Basics" ) &&
515
+ inst.getFunction ()->getName ().contains (" throttled" ) &&
516
+ inst.getFunction ()->getName ().contains (" interval" ) &&
517
+ inst.getFunction ()->getName ().contains (" Duration" )) {
513
518
for (SILValue result : inst.getResults ()) {
514
519
if (!canSerializeType (result->getType ())) {
515
520
inst.dump ();
You can’t perform that action at this time.
0 commit comments