diff options
author | paltherr <paltherr@epfl.ch> | 2004-12-03 18:41:08 +0000 |
---|---|---|
committer | paltherr <paltherr@epfl.ch> | 2004-12-03 18:41:08 +0000 |
commit | ebe2c4bf3c1662b3667ce61fed54bde84afda615 (patch) | |
tree | dbc7c91a9aaf3989966bbcea30b306869d8a69e7 /sources/scalac/atree | |
parent | 4fdab72617dbe4e049939e268df88f7a7efe5c06 (diff) | |
download | scala-ebe2c4bf3c1662b3667ce61fed54bde84afda615.tar.gz scala-ebe2c4bf3c1662b3667ce61fed54bde84afda615.tar.bz2 scala-ebe2c4bf3c1662b3667ce61fed54bde84afda615.zip |
- Removed field units in class Global
Diffstat (limited to 'sources/scalac/atree')
-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; } |