summaryrefslogtreecommitdiff
path: root/sources/scalac/CompilerPhases.java
diff options
context:
space:
mode:
authorpaltherr <paltherr@epfl.ch>2003-09-01 17:27:13 +0000
committerpaltherr <paltherr@epfl.ch>2003-09-01 17:27:13 +0000
commit860d5686c0af6d6afc5266aded4a269cc5e104b7 (patch)
treebf873b71c86463e0ccfdb269942f89afd4fafa5a /sources/scalac/CompilerPhases.java
parentcdbd9750f48ad8d3a5a8e3a7d1e4077b7a6988d7 (diff)
downloadscala-860d5686c0af6d6afc5266aded4a269cc5e104b7.tar.gz
scala-860d5686c0af6d6afc5266aded4a269cc5e104b7.tar.bz2
scala-860d5686c0af6d6afc5266aded4a269cc5e104b7.zip
- Replaced field Global.phases by fields Phase....
- Replaced field Global.phases by fields Phase.prev and Phase.next - Reorganized/Cleaned/Documented methods on infos, types and - closures in Symbol Removed method CompilerPhases.remove Add mehods - PhaseDescriptor.addXXXFlag
Diffstat (limited to 'sources/scalac/CompilerPhases.java')
-rw-r--r--sources/scalac/CompilerPhases.java7
1 files changed, 0 insertions, 7 deletions
diff --git a/sources/scalac/CompilerPhases.java b/sources/scalac/CompilerPhases.java
index 884ed5f52b..923d436605 100644
--- a/sources/scalac/CompilerPhases.java
+++ b/sources/scalac/CompilerPhases.java
@@ -167,8 +167,6 @@ public class CompilerPhases {
public void freeze() {
PhaseDescriptor[] phases = phases();
PhaseDescriptor.freeze(phases);
- for (int i = 0; i < phases.length; i++)
- if (phases[i].hasSkipFlag()) remove(phases[i]);
}
/** Activates phase "phase" by placing it before phase "where". */
@@ -185,10 +183,5 @@ public class CompilerPhases {
phases.add(index + 1, phase);
}
- /** Deactivates phase "phase". */
- public void remove(PhaseDescriptor phase) {
- phases.remove(phase);
- }
-
//########################################################################
}