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

Andrew Haley aph at openjdk.org
Tue Nov 1 11:32:21 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.

Marked as reviewed by aph (Reviewer).

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

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


More information about the hotspot-compiler-dev mailing list