Files
swift-mirror/lib/SILOptimizer/FunctionSignatureTransforms/OwnedToGuaranteedTransform.cpp
Erik Eckstein 65adc5a582 FunctionSignatureOpts: don't convert non-copyable owned -> guaranteed arguments
It's not safe to insert a compensating release_value at the call site.
This release_value calls the deinit which might have been already de-virtualized in the callee.
2024-08-12 08:54:22 +02:00

11 KiB