summaryrefslogtreecommitdiff
path: root/sources/scalac/Global.java
diff options
context:
space:
mode:
Diffstat (limited to 'sources/scalac/Global.java')
-rw-r--r--sources/scalac/Global.java5
1 files changed, 3 insertions, 2 deletions
diff --git a/sources/scalac/Global.java b/sources/scalac/Global.java
index 5024c0853b..897f0d16f3 100644
--- a/sources/scalac/Global.java
+++ b/sources/scalac/Global.java
@@ -15,6 +15,7 @@ import scalac.ast.*;
import scalac.ast.parser.*;
import scalac.symtab.Definitions;
import scalac.ast.printer.*;
+import scalac.backend.Primitives;
/** The global environment of a compiler run
@@ -89,7 +90,7 @@ public class Global {
/** the global primitives
*/
- //public Primitives primitives;
+ public Primitives primitives;
/** compilation phases.
*/
@@ -164,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();