forked from swiftlang/swift
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make the linking pass add new functions to the call graph.
If we already have a call graph built, we should add any newly deserialized functions to it. This is happening in other places we're deserializing, but wasn't happening in the linking pass, and we've been getting away with it because we invalidate the entire call graph and rebuild it when we next need it. An upcoming change will invalidate only the call graph node for the current function, so we really need to add these new functions to the call graph as we deserialize them.
- Loading branch information
Showing
2 changed files
with
21 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters