Eliminate dead code around Nashorn code generator

XMLWordPrintable

    • Type: Task
    • Resolution: Fixed
    • Priority: P4
    • 9
    • Affects Version/s: 9
    • Component/s: 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

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

                Created:
                Updated:
                Resolved: