Replace "->" with "." for use cases of LIR_Opr

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Unresolved
    • Priority: P4
    • tbd
    • Affects Version/s: 18
    • Component/s: hotspot

      In JDK-8276453, we introduced a workaround in LIR_Opr to minimize the patch size in order to ease backporting the fix to released major JDK versions:

        const LIR_Opr* operator->() const { return this; }
        LIR_Opr* operator->() { return this; }

      Ideally, this workaround should be removed and all callers should be updated from `opr->fn()` to `opr.fn()`.

            Assignee:
            Chuck Rasbold
            Reporter:
            Man Cao
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: