This is an archive of the discontinued LLVM Phabricator instance.

[ABI][NFC] Fix the confusion of ByVal and ByRef argument names
ClosedPublic

Authored by atrosinenko on Aug 3 2020, 2:19 AM.

Details

Summary

The second argument of getNaturalAlignIndirect() was bool ByRef, but
the implementation was just delegating to getIndirect() with ByRef
passed unchanged to bool ByVal parameter of getIndirect().

Fix the comment in getNaturalAlignIndirectInReg() as well.

Diff Detail

Event Timeline

atrosinenko created this revision.Aug 3 2020, 2:19 AM
Herald added a project: Restricted Project. · View Herald TranscriptAug 3 2020, 2:19 AM
atrosinenko requested review of this revision.Aug 3 2020, 2:19 AM
This revision is now accepted and ready to land.Aug 5 2020, 12:09 PM

@rjmccall Uploaded, thank you!