forked from OSchip/llvm-project
allow passing clone flags down to cloneInto
llvm-svn: 20748
This commit is contained in:
parent
f9ef3f0bb4
commit
848ef879c5
|
@ -1136,11 +1136,12 @@ std::string DSGraph::getFunctionNames() const {
|
|||
}
|
||||
|
||||
|
||||
DSGraph::DSGraph(const DSGraph &G, EquivalenceClasses<GlobalValue*> &ECs)
|
||||
DSGraph::DSGraph(const DSGraph &G, EquivalenceClasses<GlobalValue*> &ECs,
|
||||
unsigned CloneFlags)
|
||||
: GlobalsGraph(0), ScalarMap(ECs), TD(G.TD) {
|
||||
PrintAuxCalls = false;
|
||||
NodeMapTy NodeMap;
|
||||
cloneInto(G, ScalarMap, ReturnNodes, NodeMap);
|
||||
cloneInto(G, ScalarMap, ReturnNodes, NodeMap, CloneFlags);
|
||||
}
|
||||
|
||||
DSGraph::DSGraph(const DSGraph &G, NodeMapTy &NodeMap,
|
||||
|
|
Loading…
Reference in New Issue