aboutsummaryrefslogtreecommitdiff
path: root/src/dotty/tools/dotc/Compiler.scala
diff options
context:
space:
mode:
authorMartin Odersky <odersky@gmail.com>2014-04-14 14:42:05 +0200
committerDmitry Petrashko <dmitry.petrashko@gmail.com>2014-04-15 11:07:36 +0200
commit0aa3f4cecfff4a2c883a5b814c551f399dc425e1 (patch)
treebd625a14416766af69547e9198a8610999013cef /src/dotty/tools/dotc/Compiler.scala
parent2a681ecf7236fb2fdc128f7ab9d5e94d7889fc75 (diff)
downloaddotty-0aa3f4cecfff4a2c883a5b814c551f399dc425e1.tar.gz
dotty-0aa3f4cecfff4a2c883a5b814c551f399dc425e1.tar.bz2
dotty-0aa3f4cecfff4a2c883a5b814c551f399dc425e1.zip
New phase: Nullarify
Eliminates ExprTypes and PolyTypes over value types.
Diffstat (limited to 'src/dotty/tools/dotc/Compiler.scala')
-rw-r--r--src/dotty/tools/dotc/Compiler.scala11
1 files changed, 8 insertions, 3 deletions
diff --git a/src/dotty/tools/dotc/Compiler.scala b/src/dotty/tools/dotc/Compiler.scala
index 2ba75c56b..457238da4 100644
--- a/src/dotty/tools/dotc/Compiler.scala
+++ b/src/dotty/tools/dotc/Compiler.scala
@@ -20,9 +20,14 @@ class Compiler {
def phases: List[List[Phase]] =
List(
List(new FrontEnd),
- List(new LazyValsCreateCompanionObjects, new TailRec), //force separataion between lazyVals and LVCreateCO
- List(new PatternMatcher, new LazyValTranformContext().transformer,
- new Splitter, new TypeTestsCasts, new InterceptedMethods),
+ List(new LazyValsCreateCompanionObjects,
+ new TailRec), //force separataion between lazyVals and LVCreateCO
+ List(new PatternMatcher,
+ new LazyValTranformContext().transformer,
+ new Splitter),
+ List(new Nullarify,
+ new TypeTestsCasts,
+ new InterceptedMethods),
List(new Erasure),
List(new UncurryTreeTransform)
)