summaryrefslogtreecommitdiff
path: root/sources/scalac/transformer/TailCallPhase.java
diff options
context:
space:
mode:
authorpaltherr <paltherr@epfl.ch>2004-12-07 14:56:23 +0000
committerpaltherr <paltherr@epfl.ch>2004-12-07 14:56:23 +0000
commitcbd30cf21cbde81a1613226e920c282bd9ebfdf7 (patch)
tree34c75a92abb6dfde4b6881162e22c24fc5fe8c48 /sources/scalac/transformer/TailCallPhase.java
parentb8c700cd8f89695a9086636a1bd8442ee8d43200 (diff)
downloadscala-cbd30cf21cbde81a1613226e920c282bd9ebfdf7.tar.gz
scala-cbd30cf21cbde81a1613226e920c282bd9ebfdf7.tar.bz2
scala-cbd30cf21cbde81a1613226e920c282bd9ebfdf7.zip
- Removed method Transformer.apply(CompilationU...
- Removed method Transformer.apply(CompilationUnit[] - Added method ) Phase.apply(CompilationUnit - Adapted most phases to implement method ) Phase.apply(CompilationUnit instead of Phase.apply(CompilationUnit[] )
Diffstat (limited to 'sources/scalac/transformer/TailCallPhase.java')
-rw-r--r--sources/scalac/transformer/TailCallPhase.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/sources/scalac/transformer/TailCallPhase.java b/sources/scalac/transformer/TailCallPhase.java
index 667e906112..2487a7d436 100644
--- a/sources/scalac/transformer/TailCallPhase.java
+++ b/sources/scalac/transformer/TailCallPhase.java
@@ -60,9 +60,9 @@ public class TailCallPhase extends Phase {
//########################################################################
// Public Methods
- /** Applies this phase to the given compilation units. */
- public void apply(CompilationUnit[] units) {
- treeTransformer.apply(units);
+ /** Applies this phase to the given compilation unit. */
+ public void apply(CompilationUnit unit) {
+ treeTransformer.apply(unit);
}
//########################################################################