[foreign-memaccess+abi] RFR: 8299911: Refactor struct handling in AArch64 CallArranger [v3]

Per Minborg pminborg at openjdk.org
Wed Jan 11 14:48:40 UTC 2023


On Wed, 11 Jan 2023 13:53:36 GMT, Jorn Vernee <jvernee at openjdk.org> wrote:

>> Refactor struct handling in AArch64 CallArranger.
>> 
>> Instead of having 6 very similar looking while loops, I've consolidated the storage allocation code for structs into a single helper method (`StorageCalculator::structStorages`). This should make it much easier to see which logic is being used for a particular case.
>
> Jorn Vernee has updated the pull request incrementally with two additional commits since the last revision:
> 
>  - Clarify comment, take 3
>  - Clarify comment, take 2

Do not forget to bump the copyright year...

-------------

PR: https://git.openjdk.org/panama-foreign/pull/765


More information about the panama-dev mailing list