mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
[PM] Expose the invalidation API. NFC.
Currently the analysis invalidation API is marked as 'protected', which means that only the pass itself can invalidate analysis. However, we have utility functions that should invalidate analysis selectively. Exposing the invalidation API will allow us to pass the pass to the utility and allow it to invalidate analysis selectively. Swift SVN r26459
This commit is contained in:
@@ -103,7 +103,6 @@ namespace swift {
|
||||
|
||||
void injectModule(SILModule *Mod) { M = Mod; }
|
||||
|
||||
protected:
|
||||
SILModule *getModule() { return M; }
|
||||
|
||||
/// Invalidate all of functions in the module, using invalidation
|
||||
|
||||
Reference in New Issue
Block a user