Skip to content

Commit 9bcf7b2

Browse files
committed
Revert unneeded change
1 parent f0eef1b commit 9bcf7b2

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

clang/lib/CodeGen/Targets/ARM.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -790,8 +790,7 @@ RValue ARMABIInfo::EmitVAArg(CodeGenFunction &CGF, Address VAListAddr,
790790
if ((IsEmpty || Size == 0) && shouldIgnoreEmptyArg(Ty))
791791
return Slot.asRValue();
792792

793-
CharUnits TySize =
794-
std::max(getContext().getTypeSizeInChars(Ty), CharUnits::fromQuantity(1));
793+
CharUnits TySize = getContext().getTypeSizeInChars(Ty);
795794
CharUnits TyAlignForABI = getContext().getTypeUnadjustedAlignInChars(Ty);
796795

797796
// Use indirect if size of the illegal vector is bigger than 16 bytes.

0 commit comments

Comments
 (0)