mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-08-18 12:29:21 +00:00
allow passing clone flags down to cloneInto
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20748 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
f21918bfaf
commit
f09ecffa0d
@ -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
Block a user