diff options
Diffstat (limited to 'lib/CodeGen/CGCall.h')
-rw-r--r-- | lib/CodeGen/CGCall.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/CodeGen/CGCall.h b/lib/CodeGen/CGCall.h index 97e4de0296..fed29a2cf4 100644 --- a/lib/CodeGen/CGCall.h +++ b/lib/CodeGen/CGCall.h @@ -48,6 +48,10 @@ namespace CodeGen { /// arguments in a call. class CallArgList : public llvm::SmallVector<std::pair<RValue, QualType>, 16> { + public: + void add(RValue rvalue, QualType type) { + push_back(std::pair<RValue,QualType>(rvalue,type)); + } }; /// FunctionArgList - Type for representing both the decl and type |