From ebe2c4bf3c1662b3667ce61fed54bde84afda615 Mon Sep 17 00:00:00 2001 From: paltherr Date: Fri, 3 Dec 2004 18:41:08 +0000 Subject: - Removed field units in class Global --- sources/scalac/atree/ATreePrinter.java | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) (limited to 'sources/scalac/atree') 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; } -- cgit v1.2.3