RFR: 8296163: [aarch64] Cleanup Pre/Post addressing mode classes
Christian Hagedorn
chagedorn at openjdk.org
Tue Nov 1 11:03:39 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.
Looks good!
-------------
Marked as reviewed by chagedorn (Reviewer).
PR: https://git.openjdk.org/jdk/pull/10929
More information about the hotspot-compiler-dev
mailing list