diff options
author | paltherr <paltherr@epfl.ch> | 2004-12-07 14:56:23 +0000 |
---|---|---|
committer | paltherr <paltherr@epfl.ch> | 2004-12-07 14:56:23 +0000 |
commit | cbd30cf21cbde81a1613226e920c282bd9ebfdf7 (patch) | |
tree | 34c75a92abb6dfde4b6881162e22c24fc5fe8c48 /sources/scalac/transformer/TailCallPhase.java | |
parent | b8c700cd8f89695a9086636a1bd8442ee8d43200 (diff) | |
download | scala-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.java | 6 |
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); } //######################################################################## |