Fix bug with prior checkin

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4242 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner 2002-10-21 02:18:55 +00:00
parent b0a37b70e8
commit 65d6a9ee47

View File

@ -365,8 +365,8 @@ template <typename CopyFunctor>
DSCallSite::DSCallSite(const DSCallSite &FromCall, CopyFunctor nodeCopier)
: Inst(FromCall.Inst) {
RetVal = nodeCopier(&RetVal);
Callee = nodeCopier(&Callee);
RetVal = nodeCopier(&FromCall.RetVal);
Callee = nodeCopier(&FromCall.Callee);
CallArgs.reserve(FromCall.CallArgs.size());
for (unsigned j = 0, ej = FromCall.CallArgs.size(); j != ej; ++j)