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

Refine identical code in AddI/LNode.

    XMLWordPrintable

Details

    • Enhancement
    • Resolution: Fixed
    • P5
    • 18
    • 17, 18
    • hotspot
    • b27
    • generic
    • generic

    Backports

      Description

        For the same node with different type, there may have some identical code. E.g.
        AddINode::Ideal https://github.com/openjdk/jdk/blob/master/src/hotspot/share/opto/addnode.cpp#L252
        AddLNode::Ideal https://github.com/openjdk/jdk/blob/master/src/hotspot/share/opto/addnode.cpp#L399

        It would be good to have it in a shared method.

        Attachments

          Issue Links

            Activity

              People

                roland Roland Westrelin
                eliu Eric Liu (Inactive)
                Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved: