Fix build error

This commit is contained in:
Akira Hatanaka 2020-07-10 17:40:30 -07:00
parent b8235d2bd8
commit 3a5617c02e
1 changed files with 2 additions and 1 deletions

View File

@ -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);
}