Integrated: 8296163: [aarch64] Cleanup Pre/Post addressing mode classes

Kim Barrett kbarrett at openjdk.org
Wed Nov 2 20:33:45 UTC 2022


On Tue, 1 Nov 2022 10:21:12 GMT, Kim Barrett <kbarrett at openjdk.org> wrote:

> Please review this cleanup of the aarch64 Pre, Post, and PrePost addressing
> mode helper classes.
> 
> The special functions for the PrePost class are changed from public to
> protected, to ensure no slicing is possible.
> 
> In the Post class constructors, initialization of the members declared
> directly in that class is now performed in the ctor-initializer rather than by
> assignments in the body.
> 
> The member reader functions in PrePost and Post are now const.

This pull request has now been integrated.

Changeset: c7b95a89
Author:    Kim Barrett <kbarrett at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/c7b95a895fe66a00c754b590ebde53087f183c51
Stats:     12 lines in 1 file changed: 5 ins; 0 del; 7 mod

8296163: [aarch64] Cleanup Pre/Post addressing mode classes

Reviewed-by: chagedorn, aph

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

PR: https://git.openjdk.org/jdk/pull/10929


More information about the hotspot-compiler-dev mailing list