< prev index next >
src/jdk/nashorn/internal/codegen/CompilationPhase.java
Print this page
*** 361,371 ****
//replace old compile units in function nodes, if any are assigned,
//for example by running the splitter on this function node in a previous
//partial code generation
final FunctionNode newFunctionNode = transformFunction(fn, new ReplaceCompileUnits() {
@Override
! CompileUnit getReplacement(CompileUnit original) {
return map.get(original);
}
@Override
public Node leaveDefault(final Node node) {
--- 361,371 ----
//replace old compile units in function nodes, if any are assigned,
//for example by running the splitter on this function node in a previous
//partial code generation
final FunctionNode newFunctionNode = transformFunction(fn, new ReplaceCompileUnits() {
@Override
! CompileUnit getReplacement(final CompileUnit original) {
return map.get(original);
}
@Override
public Node leaveDefault(final Node node) {
< prev index next >