diff options
author | Guillaume Martres <smarter@ubuntu.com> | 2015-04-04 01:15:16 +0200 |
---|---|---|
committer | Dmitry Petrashko <dmitry.petrashko@gmail.com> | 2015-05-01 13:27:42 +0200 |
commit | 411d5be477cc862b14d8938c591524d8bf37d4cd (patch) | |
tree | 3350ebafcea9888897c9eab47b82f748cbe9ed23 /src/dotty/tools/dotc/Compiler.scala | |
parent | 3fca64e2dfd53e376b3a45605100ef6f768b07a4 (diff) | |
download | dotty-411d5be477cc862b14d8938c591524d8bf37d4cd.tar.gz dotty-411d5be477cc862b14d8938c591524d8bf37d4cd.tar.bz2 dotty-411d5be477cc862b14d8938c591524d8bf37d4cd.zip |
New phase: VCInline which inlines value classes calls
This corresponds roughly to step 2 of SIP-15 and to the peephole
optimizations of step 3.
The extractors in TreeExtractors are copied or inspired from
src/compiler/scala/tools/nsc/ast/TreeInfo.scala in scalac.
Diffstat (limited to 'src/dotty/tools/dotc/Compiler.scala')
-rw-r--r-- | src/dotty/tools/dotc/Compiler.scala | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/dotty/tools/dotc/Compiler.scala b/src/dotty/tools/dotc/Compiler.scala index dc92187db..2b5748229 100644 --- a/src/dotty/tools/dotc/Compiler.scala +++ b/src/dotty/tools/dotc/Compiler.scala @@ -57,6 +57,7 @@ class Compiler { new ResolveSuper), List(new Erasure), List(new ElimErasedValueType, + new VCInline, new Mixin, new LazyVals, new Memoize, |