From 1016d68bef18ea078a83af6e550adf2d8a818ddd Mon Sep 17 00:00:00 2001 From: Paul Phillips Date: Sun, 7 Nov 2010 23:48:57 +0000 Subject: 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. --- test/files/run/programmatic-main.check | 51 +++++++++++++++++----------------- 1 file changed, 26 insertions(+), 25 deletions(-) (limited to 'test/files/run') 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 + -- cgit v1.2.3