File tree 2 files changed +6
-2
lines changed
compiler/src/dotty/tools/dotc
2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -39,12 +39,12 @@ class Compiler {
39
39
List (new sbt.ExtractDependencies ) :: // Sends information on classes' dependencies to sbt via callbacks
40
40
List (new PostTyper ) :: // Additional checks and cleanups after type checking
41
41
List (new sbt.ExtractAPI ) :: // Sends a representation of the API of classes to sbt via callbacks
42
- List (new InlineCalls ) :: // β-reduce inline calls
43
42
Nil
44
43
45
44
/** Phases dealing with TASTY tree pickling and unpickling */
46
45
protected def picklerPhases : List [List [Phase ]] =
47
46
List (new Pickler ) :: // Generate TASTY info
47
+ List (new InlineCalls ) :: // β-reduce inline calls
48
48
List (new ReifyQuotes ) :: // Turn quoted trees into explicit run-time data structures
49
49
Nil
50
50
Original file line number Diff line number Diff line change @@ -2,6 +2,7 @@ package dotty.tools.dotc.decompiler
2
2
3
3
import dotty .tools .dotc .fromtasty ._
4
4
import dotty .tools .dotc .core .Phases .Phase
5
+ import dotty .tools .dotc .transform .InlineCalls
5
6
6
7
/** Compiler from tasty to user readable high text representation
7
8
* of the compiled scala code.
@@ -14,7 +15,10 @@ class TASTYDecompiler extends TASTYCompiler {
14
15
List (new ReadTastyTreesFromClasses ) :: // Load classes from tasty
15
16
Nil
16
17
17
- override protected def picklerPhases : List [List [Phase ]] = Nil
18
+ override protected def picklerPhases : List [List [Phase ]] =
19
+ List (new InlineCalls ) :: // TODO should we really inline for the decompiler?
20
+ Nil
21
+
18
22
override protected def transformPhases : List [List [Phase ]] = Nil
19
23
20
24
override protected def backendPhases : List [List [Phase ]] =
You can’t perform that action at this time.
0 commit comments