commit | bd1446028971476f12b3c10f1e1fd4fd86edf34a | [log] [tgz] |
---|---|---|
author | Chris Lattner <sabre@nondot.org> | Sun Oct 20 20:32:13 2002 +0000 |
committer | Chris Lattner <sabre@nondot.org> | Sun Oct 20 20:32:13 2002 +0000 |
tree | 70577b2483018ab41951249aaf7ff203847c720e | |
parent | af4800b8a9fa9522e8bc4108bb61a2a1c5955a89 [diff] [blame] |
Avoid extra callSite copy git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4232 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/Analysis/DataStructure/BottomUpClosure.cpp b/lib/Analysis/DataStructure/BottomUpClosure.cpp index e65a06c..b6748d8 100644 --- a/lib/Analysis/DataStructure/BottomUpClosure.cpp +++ b/lib/Analysis/DataStructure/BottomUpClosure.cpp
@@ -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