Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8296163

[aarch64] Cleanup Pre/Post addressing mode classes

    XMLWordPrintable

Details

    • Enhancement
    • Resolution: Fixed
    • P4
    • 20
    • 20
    • hotspot
    • b23
    • aarch64

    Description

      The Pre, Post, and PrePost addressing mode helper classes have several stylistic issues.

      The PrePost class special member functions are all public, which would allow slicing to occur. Fortunately there aren't any occurrences of slicing, but it would be better to make them non-public.

      The Post class constructors initialize the direct Post members in the body rather than in the ctor-initializer.

      All of the member reader functions should be const, but none are.

      Attachments

        Issue Links

          Activity

            People

              kbarrett Kim Barrett
              kbarrett Kim Barrett
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: