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

Consider splitting binding recipe operators that serve a dual role

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P3 P3
    • None
    • repo-panama
    • tools

      Currently, we have several binding recipe operators that have 2 interpretations, depending on whether they are used to 'box' or 'unbox'. These operators are MOVE, DEREFERENCE, and CONVERT_ADDRESS.

      This dual purpose is hard to document and explain, also because the concept of 'box' and 'unbox' is half-formed.

      As a solution, we could split those operators in 2 operators each, so that each operator has only 1 interpretation. This will also help simplify the implementing code, since there is no more need to have 2 verify, interpret, and specialize for each operator (which are the same for the others).

            jvernee Jorn Vernee
            jvernee Jorn Vernee
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: