From bd1446028971476f12b3c10f1e1fd4fd86edf34a Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Sun, 20 Oct 2002 20:32:13 +0000 Subject: [PATCH] Avoid extra callSite copy git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4232 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Analysis/DataStructure/BottomUpClosure.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Analysis/DataStructure/BottomUpClosure.cpp b/lib/Analysis/DataStructure/BottomUpClosure.cpp index e65a06c6e6d..b6748d8e38b 100644 --- a/lib/Analysis/DataStructure/BottomUpClosure.cpp +++ b/lib/Analysis/DataStructure/BottomUpClosure.cpp @@ -113,7 +113,7 @@ DSGraph &BUDataStructures::calculateGraph(Function &F) { // Record that this is a call site of FI. assert(&Call.getCaller() == &F && "Invalid caller in DSCallSite?"); - CallSites[&FI].push_back(DSCallSite(Call)); + CallSites[&FI].push_back(Call); if (&FI == &F) { // Self recursion... simply link up the formal arguments with the