This PR extracts the write to the in-memory module cache from within `ASTWriter` into `CompilerInstance.` This brings it closer to other module cache manipulations, making the ordering much more clear and explicit.
This PR extracts the write to the in-memory module cache from within `ASTWriter` into `CompilerInstance.` This brings it closer to other module cache manipulations, making the ordering much more clear and explicit.