mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-22 10:42:39 +01:00
[CG] Back out my pointless move ctor and add the explicit template
instantiation needed for the mingw dll build bot. llvm-svn: 263114
This commit is contained in:
parent
695222231c
commit
70e5a2e4ae
@ -312,7 +312,6 @@ class CallGraphPrinterPass : public PassBase<CallGraphPrinterPass> {
|
||||
|
||||
public:
|
||||
explicit CallGraphPrinterPass(raw_ostream &OS) : OS(OS) {}
|
||||
CallGraphPrinterPass(CallGraphPrinterPass &&Arg) : OS(Arg.OS) {}
|
||||
PreservedAnalyses run(Module &M, AnalysisManager<Module> *AM);
|
||||
};
|
||||
|
||||
|
@ -259,6 +259,9 @@ void CallGraphNode::replaceCallEdge(CallSite CS,
|
||||
}
|
||||
}
|
||||
|
||||
// Provide an explicit template instantiation for the static ID.
|
||||
template class llvm::AnalysisBase<CallGraphAnalysis>;
|
||||
|
||||
PreservedAnalyses CallGraphPrinterPass::run(Module &M,
|
||||
AnalysisManager<Module> *AM) {
|
||||
AM->getResult<CallGraphAnalysis>(M).print(OS);
|
||||
|
Loading…
Reference in New Issue
Block a user