diff options
Diffstat (limited to 'sources/scalac/atree/ATreePrinter.java')
-rw-r--r-- | sources/scalac/atree/ATreePrinter.java | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/sources/scalac/atree/ATreePrinter.java b/sources/scalac/atree/ATreePrinter.java index 44098d3332..022f78aed5 100644 --- a/sources/scalac/atree/ATreePrinter.java +++ b/sources/scalac/atree/ATreePrinter.java @@ -239,15 +239,10 @@ public class ATreePrinter { //######################################################################## // Public Methods - Printing trees - /** Prints all global units. */ - public ATreePrinter printGlobal(Global global) { - Phase phase = global.currentPhase; - println("[[attributed trees at "+phase+" (after "+phase.prev+")]]"); - return printUnits(global.units); - } - /** Prints the units. */ public ATreePrinter printUnits(CompilationUnit[] units) { + Phase phase = global.currentPhase; + println("[[attributed trees at "+phase+" (after "+phase.prev+")]]"); for (int i = 0; i < units.length; i++) printUnit(units[i]); return this; } |