summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorPaul Phillips <paulp@improving.org>2010-11-07 23:48:57 +0000
committerPaul Phillips <paulp@improving.org>2010-11-07 23:48:57 +0000
commit1016d68bef18ea078a83af6e550adf2d8a818ddd (patch)
tree95aaa82c97f1d90f27ebb306d7c98304504cd4ca /test
parent4659d81554c1eb5bda6730d48e0dfed747679862 (diff)
downloadscala-1016d68bef18ea078a83af6e550adf2d8a818ddd.tar.gz
scala-1016d68bef18ea078a83af6e550adf2d8a818ddd.tar.bz2
scala-1016d68bef18ea078a83af6e550adf2d8a818ddd.zip
An overhaul of Global.
consistently, and remove things which are not being used anywhere in the visible universe. Beyond general polish here are some of the feature-like additions I can remember: * -Xshow-phases now includes descriptions of the phases. * -Xshow-class and -Xshow-object did not work as far as I could tell: if they didn't, now they do. If they did, now they work better. And you don't have to give it a fully qualified name anymore. * -Xprint-icode will generate *.icode files (don't also have to say -Xprint:icode) * counts of deprecation and unchcked warnings are given * More documentation of what global is doing. I tried not to break anything which might be using Global, but let me know if I overshot somewhere. No review.
Diffstat (limited to 'test')
-rw-r--r--test/files/run/programmatic-main.check51
1 files changed, 26 insertions, 25 deletions
diff --git a/test/files/run/programmatic-main.check b/test/files/run/programmatic-main.check
index e6c83a6f48..6cf6fa8ca6 100644
--- a/test/files/run/programmatic-main.check
+++ b/test/files/run/programmatic-main.check
@@ -1,25 +1,26 @@
-parser
-namer
-packageobjects
-typer
-superaccessors
-pickler
-refchecks
-liftcode
-uncurry
-tailcalls
-specialize
-explicitouter
-erasure
-lazyvals
-lambdalift
-constructors
-flatten
-mixin
-cleanup
-icode
-inliner
-closelim
-dce
-jvm
-terminal
+ parser parse source into ASTs, perform simple desugaring
+ namer resolve names, attach symbols to named trees
+packageobjects load package objects
+ typer the meat and potatoes: type the trees
+superaccessors add super accessors in traits and nested classes
+ pickler serialize symbol tables
+ refchecks reference and override checking, translate nested objects
+ liftcode reify trees
+ uncurry uncurry, translate function values to anonymous classes
+ tailcalls replace tail calls by jumps
+ specialize @specialized-driven class and method specialization
+ explicitouter C.this refs become outer pointers, translate pattern matches
+ erasure erase types, add interfaces for traits
+ lazyvals allocate bitmaps, translate lazy vals into lazified defs
+ lambdalift move nested functions to top level
+ constructors move field definitions into constructors
+ flatten eliminate inner classes
+ mixin mixin composition
+ cleanup platform-specific cleanups, generate reflective calls
+ icode generate portable intermediate code
+ inliner optimization: do inlining
+ closelim optimization: eliminate uncalled closures
+ dce optimization: eliminate dead code
+ jvm generate JVM bytecode
+ terminal The last phase in the compiler chain
+