summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2002-10-20 20:32:13 +0000
committerChris Lattner <sabre@nondot.org>2002-10-20 20:32:13 +0000
commit28bef38c5614740a4245d70debc3b827097c76b0 (patch)
treec4f678b2509b8186ea4f42181c15d4a87c979ff3
parent43301680aa54ebfb9e2deff0136ae1dfaadadac7 (diff)
downloadbcm5719-llvm-28bef38c5614740a4245d70debc3b827097c76b0.tar.gz
bcm5719-llvm-28bef38c5614740a4245d70debc3b827097c76b0.zip
Avoid extra callSite copy
llvm-svn: 4232
-rw-r--r--llvm/lib/Analysis/DataStructure/BottomUpClosure.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Analysis/DataStructure/BottomUpClosure.cpp b/llvm/lib/Analysis/DataStructure/BottomUpClosure.cpp
index e65a06c6e6d..b6748d8e38b 100644
--- a/llvm/lib/Analysis/DataStructure/BottomUpClosure.cpp
+++ b/llvm/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
OpenPOWER on IntegriCloud