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

Kim Barrett kbarrett at openjdk.org
Tue Nov 1 10:28:38 UTC 2022


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.

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

Commit messages:
 - cleanup Pre/Post/PrePost

Changes: https://git.openjdk.org/jdk/pull/10929/files
 Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=10929&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8296163
  Stats: 12 lines in 1 file changed: 5 ins; 0 del; 7 mod
  Patch: https://git.openjdk.org/jdk/pull/10929.diff
  Fetch: git fetch https://git.openjdk.org/jdk pull/10929/head:pull/10929

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


More information about the hotspot-compiler-dev mailing list