[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:
Nadav Rotem
2015-03-23 23:57:41 +00:00
parent e00040cb0a
commit adeebd81d7

View File

@@ -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