summaryrefslogtreecommitdiff
path: root/sources/scalac/atree
diff options
context:
space:
mode:
authorpaltherr <paltherr@epfl.ch>2004-12-03 18:41:08 +0000
committerpaltherr <paltherr@epfl.ch>2004-12-03 18:41:08 +0000
commitebe2c4bf3c1662b3667ce61fed54bde84afda615 (patch)
treedbc7c91a9aaf3989966bbcea30b306869d8a69e7 /sources/scalac/atree
parent4fdab72617dbe4e049939e268df88f7a7efe5c06 (diff)
downloadscala-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.java9
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;
}