[cfe-commits] r70423 - /cfe/trunk/lib/CodeGen/CGObjCMac.cpp
Fariborz Jahanian
fjahanian at apple.com
Wed Apr 29 15:47:27 PDT 2009
Author: fjahanian
Date: Wed Apr 29 17:47:27 2009
New Revision: 70423
URL: http://llvm.org/viewvc/llvm-project?rev=70423&view=rev
Log:
Undid setting of the flag for msg_Send for 32bit code gen.
It seems to effect code gen. Add a FIXME instead.
Modified:
cfe/trunk/lib/CodeGen/CGObjCMac.cpp
Modified: cfe/trunk/lib/CodeGen/CGObjCMac.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/CodeGen/CGObjCMac.cpp?rev=70423&r1=70422&r2=70423&view=diff
==============================================================================
--- cfe/trunk/lib/CodeGen/CGObjCMac.cpp (original)
+++ cfe/trunk/lib/CodeGen/CGObjCMac.cpp Wed Apr 29 17:47:27 2009
@@ -1413,9 +1413,8 @@
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)) {
More information about the cfe-commits
mailing list