Update the generic specializer to maintain the call graph.

Swift SVN r27024
This commit is contained in:
Mark Lacey
2015-04-05 19:27:40 +00:00
parent 56de5fb95e
commit fea3321f59
12 changed files with 166 additions and 78 deletions

View File

@@ -358,6 +358,7 @@ public:
void replaceApplyWithNew(FullApplySite Old,
llvm::SmallVectorImpl<FullApplySite> &NewApplies);
void addCallGraphNode(SILFunction *F) { CG.addCallGraphNode(F); }
void addEdgesForApply(FullApplySite AI) { CG.addEdgesForApply(AI); }
};
/// The Call Graph Analysis provides information about the call graph.