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

Jorn Vernee jvernee at openjdk.org
Wed Jan 11 20:12:49 UTC 2023


On Wed, 11 Jan 2023 04:33:06 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.

This pull request has now been integrated.

Changeset: ac10d37f
Author:    Jorn Vernee <jvernee at openjdk.org>
URL:       https://git.openjdk.org/panama-foreign/commit/ac10d37f3e9c2b9ef7fd7a810c6c051f4eeaa0af
Stats:     435 lines in 3 files changed: 181 ins; 160 del; 94 mod

8299911: Refactor struct handling in AArch64 CallArranger

Reviewed-by: mcimadamore

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

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


More information about the panama-dev mailing list