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

Eliminate dead code around Nashorn code generator

    XMLWordPrintable

Details

    • Task
    • Resolution: Fixed
    • P4
    • 9
    • 9
    • core-libs
    • b64
    • generic
    • 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

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

                Dates

                  Created:
                  Updated:
                  Resolved: