diff options
author | Dmitry Petrashko <dmitry.petrashko@gmail.com> | 2016-04-18 14:49:18 +0200 |
---|---|---|
committer | Dmitry Petrashko <dmitry.petrashko@gmail.com> | 2016-04-18 15:01:29 +0200 |
commit | 5399fbed6d33dca132ca27314f2eba414aea4415 (patch) | |
tree | 30ea8adc3cf6d1e0f20edb3aedb7c7ffa774ee2c /src/dotty/tools/dotc/Compiler.scala | |
parent | 0b1ca2d823ba0eac5558c3bcd1750c84a250cd18 (diff) | |
download | dotty-5399fbed6d33dca132ca27314f2eba414aea4415.tar.gz dotty-5399fbed6d33dca132ca27314f2eba414aea4415.tar.bz2 dotty-5399fbed6d33dca132ca27314f2eba414aea4415.zip |
Address review comments of #1188
Diffstat (limited to 'src/dotty/tools/dotc/Compiler.scala')
-rw-r--r-- | src/dotty/tools/dotc/Compiler.scala | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/dotty/tools/dotc/Compiler.scala b/src/dotty/tools/dotc/Compiler.scala index f1a3c526b..b63e0236d 100644 --- a/src/dotty/tools/dotc/Compiler.scala +++ b/src/dotty/tools/dotc/Compiler.scala @@ -66,8 +66,8 @@ class Compiler { new Getters, // Replace non-private vals and vars with getter defs (fields are added later) new ElimByName, // Expand by-name parameters and arguments new AugmentScala2Traits, // Expand traits defined in Scala 2.11 to simulate old-style rewritings - new ResolveSuper, // Implement super accessors and add forwarders to trait methods - new ArrayConstructors) // Intercept creation of (non-generic) arrays and intrinsify. + new ResolveSuper, // Implement super accessors and add forwarders to trait methods + new ArrayConstructors), // Intercept creation of (non-generic) arrays and intrinsify. List(new Erasure), // Rewrite types to JVM model, erasing all type parameters, abstract types and refinements. List(new ElimErasedValueType, // Expand erased value types to their underlying implmementation types new VCElideAllocations, // Peep-hole optimization to eliminate unnecessary value class allocations |