Rename DtoAggrPaint to DtoSlicePaint (#4174)

It only does two elements and is exclusively used for slices
This commit is contained in:
Nicholas Wilson 2022-09-15 20:44:28 +08:00 committed by GitHub
parent 78e68b5149
commit af51b700be
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 10 additions and 10 deletions

View file

@ -765,7 +765,7 @@ LLValue *DtoAggrPair(LLValue *V1, LLValue *V2, const char *name) {
return DtoAggrPair(t, V1, V2, name);
}
LLValue *DtoAggrPaint(LLValue *aggr, LLType *as) {
LLValue *DtoSlicePaint(LLValue *aggr, LLType *as) {
if (aggr->getType() == as) {
return aggr;
}