diff options
author | Martin Odersky <odersky@gmail.com> | 2008-01-21 14:21:57 +0000 |
---|---|---|
committer | Martin Odersky <odersky@gmail.com> | 2008-01-21 14:21:57 +0000 |
commit | d890aa1a5c3d7001f09b8a51fd01e82504fe5b25 (patch) | |
tree | 3d4a610bf8c5cd3467170e225c58b35929115010 /src | |
parent | 07e22566c1c073203b8b4b225790f576af541fb1 (diff) | |
download | scala-d890aa1a5c3d7001f09b8a51fd01e82504fe5b25.tar.gz scala-d890aa1a5c3d7001f09b8a51fd01e82504fe5b25.tar.bz2 scala-d890aa1a5c3d7001f09b8a51fd01e82504fe5b25.zip |
disabled liftcode for MSIL
Diffstat (limited to 'src')
-rw-r--r-- | src/compiler/scala/tools/nsc/Global.scala | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/src/compiler/scala/tools/nsc/Global.scala b/src/compiler/scala/tools/nsc/Global.scala index 8303b07b4b..3cf3a9a1bd 100644 --- a/src/compiler/scala/tools/nsc/Global.scala +++ b/src/compiler/scala/tools/nsc/Global.scala @@ -380,8 +380,10 @@ class Global(var settings: Settings, var reporter: Reporter) extends SymbolTable analyzer.typerFactory: SubComponent, // consistency check after refchecks would fail. superAccessors, // add super accessors pickler, // serializes symbol tables - refchecks, // perform reference and override checking, translate nested objects - liftcode, // generate reified trees + refchecks // perform reference and override checking, translate nested objects + ) ::: ( + if (forMSIL) List() else List(liftcode) // generate reified trees + ) ::: List( uncurry, // uncurry, translate function values to anonymous classes tailCalls, // replace tail calls by jumps explicitOuter, // replace C.this by explicit outer pointers, eliminate pattern matching @@ -400,7 +402,8 @@ class Global(var settings: Settings, var reporter: Reporter) extends SymbolTable closureElimination, // optimization: get rid of uncalled closures deadCode, // optimization: get rid of dead cpde if (forMSIL) genMSIL else genJVM, // generate .class files - sampleTransform) + sampleTransform + ) private var phasesCache: Option[List[SubComponent]] = None |