diff options
author | Fariborz Jahanian <fjahanian@apple.com> | 2009-04-29 22:47:27 +0000 |
---|---|---|
committer | Fariborz Jahanian <fjahanian@apple.com> | 2009-04-29 22:47:27 +0000 |
commit | 65257cafb2cdf353d017c3860e15b813b9244bca (patch) | |
tree | 0cd07581e90555768466ac237c74d776cd6339f9 /lib/CodeGen/CGObjCMac.cpp | |
parent | 8987a02fa1da1dfe0553bb35d00e2d8e381ed416 (diff) |
Undid setting of the flag for msg_Send for 32bit code gen.
It seems to effect code gen. Add a FIXME instead.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@70423 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CGObjCMac.cpp')
-rw-r--r-- | lib/CodeGen/CGObjCMac.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/lib/CodeGen/CGObjCMac.cpp b/lib/CodeGen/CGObjCMac.cpp index cae17cfdb1..af06f34682 100644 --- a/lib/CodeGen/CGObjCMac.cpp +++ b/lib/CodeGen/CGObjCMac.cpp @@ -1413,9 +1413,8 @@ CodeGen::RValue CGObjCMac::EmitMessageSend(CodeGen::CodeGenFunction &CGF, CodeGenTypes &Types = CGM.getTypes(); const CGFunctionInfo &FnInfo = Types.getFunctionInfo(ResultType, ActualArgs); - // Type is a vararg. In 32bit code gen. it is ignored. In 64bit it is - // looked at. - const llvm::FunctionType *FTy = Types.GetFunctionType(FnInfo, true); + // FIXME. vararg flag must be true when this API is used for 64bit code gen. + const llvm::FunctionType *FTy = Types.GetFunctionType(FnInfo, false); llvm::Constant *Fn; if (CGM.ReturnTypeUsesSret(FnInfo)) { |