Undid setting of the flag for msg_Send for 32bit code gen.
It seems to effect code gen. Add a FIXME instead. llvm-svn: 70423
This commit is contained in:
parent
0098d01ef9
commit
4b4ef86369
|
@ -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)) {
|
||||
|
|
Loading…
Reference in New Issue