diff options
| author | Daniel Dunbar <daniel@zuster.org> | 2009-02-02 21:43:58 +0000 |
|---|---|---|
| committer | Daniel Dunbar <daniel@zuster.org> | 2009-02-02 21:43:58 +0000 |
| commit | bb36d331f439f49859efcfb4435c61762fbba6f9 (patch) | |
| tree | 3139391810c41d81ca06b776f0fa02aa4623c353 /lib/CodeGen/CodeGenTypes.h | |
| parent | d863517ab7e936cbc3244a0fc431c8b672f5ece4 (diff) | |
| download | clang-bb36d331f439f49859efcfb4435c61762fbba6f9.tar.gz clang-bb36d331f439f49859efcfb4435c61762fbba6f9.tar.bz2 clang-bb36d331f439f49859efcfb4435c61762fbba6f9.tar.xz | |
ABI handling API changes.
- Lift CGFunctionInfo creation up to callers of EmitCall.
- Move isVariadic bit out of CGFunctionInfo, take as argument to
GetFunctionType instead.
No functionality change.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@63550 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CodeGenTypes.h')
| -rw-r--r-- | lib/CodeGen/CodeGenTypes.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/CodeGen/CodeGenTypes.h b/lib/CodeGen/CodeGenTypes.h index eb4244545b..60c2946f13 100644 --- a/lib/CodeGen/CodeGenTypes.h +++ b/lib/CodeGen/CodeGenTypes.h @@ -144,7 +144,8 @@ public: const llvm::Type *ConvertTypeForMem(QualType T); /// GetFunctionType - Get the LLVM function type for \arg Info. - const llvm::FunctionType *GetFunctionType(const CGFunctionInfo &Info); + const llvm::FunctionType *GetFunctionType(const CGFunctionInfo &Info, + bool IsVariadic); const CGRecordLayout *getCGRecordLayout(const TagDecl*) const; /// Returns a StructType representing an Objective-C object |
