Last active
August 29, 2015 14:18
-
-
Save Yuichiroh/06f1aef644b52740d8d1 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
~ | |
% scala -Xshow-phases | |
phase name id description | |
---------- -- ----------- | |
parser 1 parse source into ASTs, perform simple desugaring | |
namer 2 resolve names, attach symbols to named trees | |
packageobjects 3 load package objects | |
typer 4 the meat and potatoes: type the trees | |
patmat 5 translate match expressions | |
superaccessors 6 add super accessors in traits and nested classes | |
extmethods 7 add extension methods for inline classes | |
pickler 8 serialize symbol tables | |
refchecks 9 reference/override checking, translate nested objects | |
uncurry 10 uncurry, translate function values to anonymous classes | |
tailcalls 11 replace tail calls by jumps | |
specialize 12 @specialized-driven class and method specialization | |
explicitouter 13 this refs to outer pointers | |
erasure 14 erase types, add interfaces for traits | |
posterasure 15 clean up erased inline classes | |
lazyvals 16 allocate bitmaps, translate lazy vals into lazified defs | |
lambdalift 17 move nested functions to top level | |
constructors 18 move field definitions into constructors | |
flatten 19 eliminate inner classes | |
mixin 20 mixin composition | |
cleanup 21 platform-specific cleanups, generate reflective calls | |
delambdafy 22 remove lambdas | |
icode 23 generate portable intermediate code | |
jvm 24 generate JVM bytecode | |
terminal 25 the last phase during a compilation run |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment