forked from OSchip/llvm-project
Revert bad change. (It may look equivalent, but it isn't.)
llvm-svn: 137132
This commit is contained in:
parent
677f2a263a
commit
f5dfb31df0
|
@ -2818,7 +2818,7 @@ void CodeGenFunction::GenerateThunk(llvm::Function *Fn,
|
|||
|
||||
#ifndef NDEBUG
|
||||
const CGFunctionInfo &CallFnInfo =
|
||||
CGM.getTypes().getFunctionInfo(CallArgs, FPT);
|
||||
CGM.getTypes().getFunctionInfo(ResultType, CallArgs, FPT->getExtInfo());
|
||||
assert(CallFnInfo.getRegParm() == FnInfo.getRegParm() &&
|
||||
CallFnInfo.isNoReturn() == FnInfo.isNoReturn() &&
|
||||
CallFnInfo.getCallingConvention() == FnInfo.getCallingConvention());
|
||||
|
|
Loading…
Reference in New Issue