summaryrefslogtreecommitdiff
path: root/sources/scalac/Global.java
diff options
context:
space:
mode:
authorMartin Odersky <odersky@gmail.com>2003-02-20 13:15:06 +0000
committerMartin Odersky <odersky@gmail.com>2003-02-20 13:15:06 +0000
commit17bd66e3cf7734ccf1ccd3a0adb987feb880d325 (patch)
tree52c57891aac018ce89643e41dd0dd05170ae42ab /sources/scalac/Global.java
parent2fc8c8dc203f00a936aab60dba50c2d7e4ae054b (diff)
downloadscala-17bd66e3cf7734ccf1ccd3a0adb987feb880d325.tar.gz
scala-17bd66e3cf7734ccf1ccd3a0adb987feb880d325.tar.bz2
scala-17bd66e3cf7734ccf1ccd3a0adb987feb880d325.zip
*** empty log message ***
Diffstat (limited to 'sources/scalac/Global.java')
-rw-r--r--sources/scalac/Global.java11
1 files changed, 5 insertions, 6 deletions
diff --git a/sources/scalac/Global.java b/sources/scalac/Global.java
index 2db39f2b89..d9aa03947b 100644
--- a/sources/scalac/Global.java
+++ b/sources/scalac/Global.java
@@ -15,7 +15,7 @@ import scalac.ast.*;
import scalac.ast.parser.*;
import scalac.symtab.Definitions;
import scalac.ast.printer.*;
-import scalac.backend.Primitives;
+//import scalac.backend.Primitives;
/** The global environment of a compiler run
@@ -90,7 +90,7 @@ public class Global {
/** the global primitives
*/
- public Primitives primitives;
+ //public Primitives primitives;
/** compilation phases.
*/
@@ -165,7 +165,7 @@ public class Global {
this.make = new TreeCreator();
this.currentPhase = PhaseDescriptor.INITIAL;
this.definitions = new Definitions(this);
- this.primitives = new Primitives(this);
+ //this.primitives = new Primitives(this);
this.treeGen = new TreeGen(this, make);
this.PHASE = args.phases;
List phases = new ArrayList();
@@ -179,8 +179,7 @@ public class Global {
phases.add(PHASE.OPTIMIZE);
} */
phases.add(PHASE.TRANSMATCH);
-
- //phases.add(PHASE.LAMBDALIFT);
+ phases.add(PHASE.LAMBDALIFT);
phases.add(PHASE.EXPLICITOUTER);
phases.add(PHASE.ADDACCESSORS);
phases.add(PHASE.ADDINTERFACES);
@@ -192,8 +191,8 @@ public class Global {
}
if (target == TARGET_JAVA) phases.add(PHASE.GENJAVA);
if (target == TARGET_MSIL) phases.add(PHASE.GENMSIL);
- */
if (target == TARGET_JVM) phases.add(PHASE.GENJVM);
+ */
phases.add(PHASE.TERMINAL);
this.phases = new PhaseDescriptor[phases.size()];
for (int i = 0; i < phases.size(); i++) {