Rename ExplicitByvalRewrite to IndirectByvalRewrite

This commit is contained in:
Martin Kinkelin 2018-05-27 00:57:26 +02:00
parent 8faab8b684
commit 5d8b581025
4 changed files with 10 additions and 10 deletions

View file

@ -388,7 +388,7 @@ static void DtoCreateNestedContextType(FuncDeclaration *fd) {
} else if (vd->isParameter() && (vd->storage_class & STClazy)) {
// The LL type is a delegate (LL struct).
// Depending on the used TargetABI, the LL parameter is either a struct or
// a pointer to a struct (`byval` attribute, ExplicitByvalRewrite).
// a pointer to a struct (`byval` attribute, IndirectByvalRewrite).
t = getIrParameter(vd)->value->getType();
if (t->isPointerTy())
t = t->getPointerElementType();