allow passing clone flags down to cloneInto

llvm-svn: 20748
This commit is contained in:
Chris Lattner 2005-03-21 22:49:53 +00:00
parent f9ef3f0bb4
commit 848ef879c5
1 changed files with 3 additions and 2 deletions

View File

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