summaryrefslogtreecommitdiff
path: root/sources/scalac/PhaseDescriptor.java
diff options
context:
space:
mode:
authorpaltherr <paltherr@epfl.ch>2003-08-25 15:30:34 +0000
committerpaltherr <paltherr@epfl.ch>2003-08-25 15:30:34 +0000
commit8246648ff155849e494b3be34faa7439dc23e9eb (patch)
tree6768612766e312182315acb3560ab2d1c5dde13b /sources/scalac/PhaseDescriptor.java
parent1cfdffddd1d0d8d71426ef6c1b43aba3e9187561 (diff)
downloadscala-8246648ff155849e494b3be34faa7439dc23e9eb.tar.gz
scala-8246648ff155849e494b3be34faa7439dc23e9eb.tar.bz2
scala-8246648ff155849e494b3be34faa7439dc23e9eb.zip
- Fixed transformation of STOP into SKIP
Diffstat (limited to 'sources/scalac/PhaseDescriptor.java')
-rw-r--r--sources/scalac/PhaseDescriptor.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/sources/scalac/PhaseDescriptor.java b/sources/scalac/PhaseDescriptor.java
index 4075d8a88f..602a329fb6 100644
--- a/sources/scalac/PhaseDescriptor.java
+++ b/sources/scalac/PhaseDescriptor.java
@@ -42,8 +42,8 @@ public final class PhaseDescriptor {
// transform STOP flags into SKIP flags
boolean stop = false;
for (int i = 0; i < phases.length; i++) {
- stop |= phases[i].hasStopFlag();
if (stop) phases[i].flags |= SKIP;
+ stop |= phases[i].hasStopFlag();
if (stop) phases[i].flags &= ~STOP;
}
// remove SKIP flag on INITIAL and TERMINAL phases