forked from OSchip/llvm-project
Fix build error
This commit is contained in:
parent
b8235d2bd8
commit
3a5617c02e
|
@ -156,7 +156,8 @@ void CGCXXABI::setCXXABIThisValue(CodeGenFunction &CGF, llvm::Value *ThisPtr) {
|
|||
|
||||
void CGCXXABI::EmitReturnFromThunk(CodeGenFunction &CGF,
|
||||
RValue RV, QualType ResultType) {
|
||||
assert(!hasAggregateEvaluationKind(ResultType) && "cannot handle aggregates");
|
||||
assert(!CGF.hasAggregateEvaluationKind(ResultType) &&
|
||||
"cannot handle aggregates");
|
||||
CGF.EmitReturnOfRValue(RV, ResultType);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue