diff options
author | Paul Phillips <paulp@improving.org> | 2009-04-25 13:19:06 +0000 |
---|---|---|
committer | Paul Phillips <paulp@improving.org> | 2009-04-25 13:19:06 +0000 |
commit | 718c06c2f95d73fad7fed866a5d57e8324da8326 (patch) | |
tree | 1b6ab96a40e25419c556d2ebe8526884158d841d /src/compiler | |
parent | 7a03d2498b6ba19fb1da6a36b850c4dc6408cdcc (diff) | |
download | scala-718c06c2f95d73fad7fed866a5d57e8324da8326.tar.gz scala-718c06c2f95d73fad7fed866a5d57e8324da8326.tar.bz2 scala-718c06c2f95d73fad7fed866a5d57e8324da8326.zip |
fixed inadvertantly busted icode printing
Diffstat (limited to 'src/compiler')
-rw-r--r-- | src/compiler/scala/tools/nsc/Global.scala | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/compiler/scala/tools/nsc/Global.scala b/src/compiler/scala/tools/nsc/Global.scala index 218f991d56..73b2f6aff7 100644 --- a/src/compiler/scala/tools/nsc/Global.scala +++ b/src/compiler/scala/tools/nsc/Global.scala @@ -692,10 +692,9 @@ class Global(var settings: Settings, var reporter: Reporter) extends SymbolTable val startTime = currentTime phase = globalPhase globalPhase.run - if (settings.writeICode.value && globalPhase.id >= icodePhase.id) - writeICode() if (settings.print contains globalPhase.name) - if (settings.Xshowtrees.value) nodePrinters.printAll() + if (settings.writeICode.value && globalPhase.id >= icodePhase.id) writeICode() + else if (settings.Xshowtrees.value) nodePrinters.printAll() else printAllUnits() if (settings.printLate.value && globalPhase.name == "cleanup") printAllUnits() |