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

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

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Unresolved
    • Icon: P4 P4
    • tbd
    • 18
    • 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()`.

            rasbold Chuck Rasbold
            manc Man Cao
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: