[llvm-commits] CVS: llvm/lib/Analysis/DataStructure/BottomUpClosure.cpp

Chris Lattner lattner at cs.uiuc.edu
Sun Oct 20 15:33:01 PDT 2002


Changes in directory llvm/lib/Analysis/DataStructure:

BottomUpClosure.cpp updated: 1.18 -> 1.19

---
Log message:

Avoid extra callSite copy


---
Diffs of the changes:

Index: llvm/lib/Analysis/DataStructure/BottomUpClosure.cpp
diff -u llvm/lib/Analysis/DataStructure/BottomUpClosure.cpp:1.18 llvm/lib/Analysis/DataStructure/BottomUpClosure.cpp:1.19
--- llvm/lib/Analysis/DataStructure/BottomUpClosure.cpp:1.18	Sun Oct 20 13:07:37 2002
+++ llvm/lib/Analysis/DataStructure/BottomUpClosure.cpp	Sun Oct 20 15:32:13 2002
@@ -113,7 +113,7 @@
 
           // 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





More information about the llvm-commits mailing list