diff options
author | Douglas Gregor <dgregor@apple.com> | 2011-05-07 20:12:26 +0000 |
---|---|---|
committer | Douglas Gregor <dgregor@apple.com> | 2011-05-07 20:12:26 +0000 |
commit | 9ca5465500f6351909a32039007373a367d7bca3 (patch) | |
tree | d2aea17cce588710ba9339663ee1d979c82dc7f6 /clang/lib/CodeGen/CGCall.h | |
parent | 6dec2aa9b4175c89cf4c84e88b7211e36ec6b3dc (diff) | |
download | bcm5719-llvm-9ca5465500f6351909a32039007373a367d7bca3.tar.gz bcm5719-llvm-9ca5465500f6351909a32039007373a367d7bca3.zip |
Revert r130717, which caused a regression (<rdar://problem/9402621>).
llvm-svn: 131057
Diffstat (limited to 'clang/lib/CodeGen/CGCall.h')
-rw-r--r-- | clang/lib/CodeGen/CGCall.h | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/clang/lib/CodeGen/CGCall.h b/clang/lib/CodeGen/CGCall.h index 160a62eab36..3f600c04e59 100644 --- a/clang/lib/CodeGen/CGCall.h +++ b/clang/lib/CodeGen/CGCall.h @@ -47,9 +47,8 @@ namespace CodeGen { struct CallArg { RValue RV; QualType Ty; - bool NeedsCopy; - CallArg(RValue rv, QualType ty, bool needscopy) - : RV(rv), Ty(ty), NeedsCopy(needscopy) + CallArg(RValue rv, QualType ty) + : RV(rv), Ty(ty) { } }; @@ -58,8 +57,8 @@ namespace CodeGen { class CallArgList : public llvm::SmallVector<CallArg, 16> { public: - void add(RValue rvalue, QualType type, bool needscopy = false) { - push_back(CallArg(rvalue, type, needscopy)); + void add(RValue rvalue, QualType type) { + push_back(CallArg(rvalue, type)); } }; |