From 19944fade3fd451e63b1d66a57953d0cd08ece18 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Tue, 22 Mar 2005 00:21:05 +0000 Subject: remove the second argument to cloneInto llvm-svn: 20754 --- llvm/lib/Analysis/DataStructure/EquivClassGraphs.cpp | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) (limited to 'llvm/lib/Analysis/DataStructure/EquivClassGraphs.cpp') diff --git a/llvm/lib/Analysis/DataStructure/EquivClassGraphs.cpp b/llvm/lib/Analysis/DataStructure/EquivClassGraphs.cpp index a5621911..83b9d9a 100644 --- a/llvm/lib/Analysis/DataStructure/EquivClassGraphs.cpp +++ b/llvm/lib/Analysis/DataStructure/EquivClassGraphs.cpp @@ -270,11 +270,8 @@ void EquivClassGraphs::buildIndirectFunctionSets(Module &M) { } // Clone this member of the equivalence class into MergedG. - { - DSGraph::NodeMapTy NodeMap; - MergedG.cloneInto(CBUGraph, MergedG.getScalarMap(), - MergedG.getReturnNodes(), NodeMap, 0); - } + DSGraph::NodeMapTy NodeMap; + MergedG.cloneInto(CBUGraph, MergedG.getReturnNodes(), NodeMap, 0); } // Merge the return nodes of all functions together. @@ -366,7 +363,7 @@ processSCC(DSGraph &FG, std::vector &Stack, unsigned &NextID, // If the SCC found is not the same as those found in CBU, make sure to // merge the graphs as appropriate. DSGraph::NodeMapTy NodeMap; - FG.cloneInto(*NG, FG.getScalarMap(), FG.getReturnNodes(), NodeMap); + FG.cloneInto(*NG, FG.getReturnNodes(), NodeMap); // Update the DSInfo map and delete the old graph... for (DSGraph::retnodes_iterator I = NG->retnodes_begin(); -- cgit v1.1