diff options
author | Chris Lattner <sabre@nondot.org> | 2002-10-20 20:32:13 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2002-10-20 20:32:13 +0000 |
commit | 28bef38c5614740a4245d70debc3b827097c76b0 (patch) | |
tree | c4f678b2509b8186ea4f42181c15d4a87c979ff3 | |
parent | 43301680aa54ebfb9e2deff0136ae1dfaadadac7 (diff) | |
download | bcm5719-llvm-28bef38c5614740a4245d70debc3b827097c76b0.tar.gz bcm5719-llvm-28bef38c5614740a4245d70debc3b827097c76b0.zip |
Avoid extra callSite copy
llvm-svn: 4232
-rw-r--r-- | llvm/lib/Analysis/DataStructure/BottomUpClosure.cpp | 2 |
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 |