361 //replace old compile units in function nodes, if any are assigned, |
361 //replace old compile units in function nodes, if any are assigned, |
362 //for example by running the splitter on this function node in a previous |
362 //for example by running the splitter on this function node in a previous |
363 //partial code generation |
363 //partial code generation |
364 final FunctionNode newFunctionNode = transformFunction(fn, new ReplaceCompileUnits() { |
364 final FunctionNode newFunctionNode = transformFunction(fn, new ReplaceCompileUnits() { |
365 @Override |
365 @Override |
366 CompileUnit getReplacement(CompileUnit original) { |
366 CompileUnit getReplacement(final CompileUnit original) { |
367 return map.get(original); |
367 return map.get(original); |
368 } |
368 } |
369 |
369 |
370 @Override |
370 @Override |
371 public Node leaveDefault(final Node node) { |
371 public Node leaveDefault(final Node node) { |