diff options
Diffstat (limited to 'sources/scalac/Global.java')
-rw-r--r-- | sources/scalac/Global.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sources/scalac/Global.java b/sources/scalac/Global.java index bfba148993..ec8f20ab81 100644 --- a/sources/scalac/Global.java +++ b/sources/scalac/Global.java @@ -389,9 +389,9 @@ public abstract class Global { start(); // System.out.println("*** " + currentPhase.descriptor.description() + " ***"); currentPhase.apply(units); - stop(currentPhase.descriptor.taskDescription()); if (currentPhase == PHASE.ANALYZER.phase()) units = ((AnalyzerPhase)currentPhase).getUnits(); + stop(currentPhase.descriptor.taskDescription()); if (currentPhase.descriptor.hasPrintFlag()) print(units); // if (currentPhase.descriptor.hasGraphFlag()) // !!! // if (currentPhase.descriptor.hasCheckFlag()) // !!! @@ -423,7 +423,7 @@ public abstract class Global { currentPhase = PHASE.PARSER.phase(); PHASE.PARSER.phase().apply(new CompilationUnit[] {unit}); currentPhase = PHASE.ANALYZER.phase(); - ((AnalyzerPhase)PHASE.ANALYZER.phase()).lateEnter(unit); + ((AnalyzerPhase)PHASE.ANALYZER.phase()).apply(unit); // !!! add code for later phases? currentPhase = backup; } |