mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
Previously, Actions were responsible for freeing their inputs... except for the ones that weren't. Or the ones that were supposed to, but then they needed to share an input, so they couldn't anymore. If this sounds ridiculous, you're right; now Actions are just immediately allocated and owned by the Compilation. The graph structure of the actions is still useful for some things; in particular, "top-level" actions get to put their outputs somewhere permanent rather than TMPDIR. But I expect these things to get cleaned up in the future too.
8.5 KiB
8.5 KiB