diff options
author | Eli Friedman <eli.friedman@gmail.com> | 2011-08-09 17:38:12 +0000 |
---|---|---|
committer | Eli Friedman <eli.friedman@gmail.com> | 2011-08-09 17:38:12 +0000 |
commit | c55db3b76df62f2c89e9bcc7437d1065512fb139 (patch) | |
tree | 038b03af51c1fe5b5072c9bebd1d94c71dbf8cee /lib/CodeGen/CGClass.cpp | |
parent | 0815b579b31cb3129f732bb7ea36fd6ba6949e98 (diff) |
Cleanup; no functionality change.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@137126 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CGClass.cpp')
-rw-r--r-- | lib/CodeGen/CGClass.cpp | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/lib/CodeGen/CGClass.cpp b/lib/CodeGen/CGClass.cpp index 2d32b83b12..1acbb0886a 100644 --- a/lib/CodeGen/CGClass.cpp +++ b/lib/CodeGen/CGClass.cpp @@ -1258,10 +1258,8 @@ CodeGenFunction::EmitSynthesizedCXXCopyCtorCall(const CXXConstructorDecl *D, EmitCallArg(Args, *Arg, ArgType); } - QualType ResultType = FPT->getResultType(); - EmitCall(CGM.getTypes().getFunctionInfo(ResultType, Args, - FPT->getExtInfo()), - Callee, ReturnValueSlot(), Args, D); + EmitCall(CGM.getTypes().getFunctionInfo(Args, FPT), Callee, + ReturnValueSlot(), Args, D); } void |