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

Eliminate dead code around Nashorn code generator

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Fixed
    • Icon: P4 P4
    • 9
    • 9
    • core-libs
    • b64
    • generic
    • generic

        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

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

                Created:
                Updated:
                Resolved: