C2: Remove the control input of LoadKlassNode and LoadNKlassNode

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Fixed
    • Priority: P4
    • 25
    • Affects Version/s: 25
    • Component/s: hotspot
    • b10

      The only place where they are created with a control input is at Parse::array_store_check(), the reason given is

      // We are allowed to use the constant type only if cast succeeded

      But this seems incorrect, the load from the constant type can be done regardless, and it will be constant-folded.

            Assignee:
            Quan Anh Mai
            Reporter:
            Quan Anh Mai
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: