@@ -6486,7 +6486,7 @@ ManagedValue SILGenFunction::getThunkedAutoDiffLinearMap(
64866486 SILType substFnType = linearMapArg->getType ().substGenericArgs (
64876487 thunkSGF.getModule (), subs, thunk->getTypeExpansionContext ());
64886488 auto tokenAndCleanups = thunkSGF.emitBeginApplyWithRethrow (
6489- loc, linearMapArg, substFnType,
6489+ loc, linearMapArg, substFnType, true ,
64906490 SubstitutionMap (), arguments, yields);
64916491 auto token = std::get<0 >(tokenAndCleanups);
64926492 auto abortCleanup = std::get<1 >(tokenAndCleanups);
@@ -6762,7 +6762,7 @@ SILFunction *SILGenModule::getOrCreateCustomDerivativeThunk(
67626762 SmallVector<SILValue, 1 > yields;
67636763 // Start inner coroutine execution till the suspend point
67646764 auto tokenAndCleanups = thunkSGF.emitBeginApplyWithRethrow (
6765- loc, fnRef, substFnType /* fnRef->getType()*/ ,
6765+ loc, fnRef, substFnType /* fnRef->getType()*/ , true ,
67666766 subs, arguments, yields);
67676767 auto token = std::get<0 >(tokenAndCleanups);
67686768 auto abortCleanup = std::get<1 >(tokenAndCleanups);
0 commit comments