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

[lworld][C1] aaload doesn't work with constant index

    XMLWordPrintable

    Details

      Description

      C1 compilation of a simple function like this works
          static int test(V arr[], int i) {
              return arr[i].v1;
          }

      But replacing "i" with "1" will cause an assert during compilation.

        Attachments

          Activity

            People

            Assignee:
            iklam Ioi Lam
            Reporter:
            iklam Ioi Lam
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: