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

Eliminate dead code around Nashorn code generator

    Details

    • Type: Task
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 9
    • Fix Version/s: 9
    • Component/s: core-libs
    • Labels:
    • Subcomponent:
    • Resolved In Build:
      b64
    • CPU:
      generic
    • OS:
      generic

      Backports

        Description

        The surroundings of the code generator have some dead code that should be pruned:
        - MethodEmitter.registerReturn is unused
        - CodeGenerator.enterEmptyNode is unnecessary
        - BranchOptimizer has a case for a boolean UnaryNode that is not a NOT. There are no such nodes (or they're transformed to RuntimeNode earlier, e.g. the DELETE one)
        - the Emitter interface is unused

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  attila Attila Szegedi
                  Reporter:
                  attila Attila Szegedi
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  2 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: