summaryrefslogtreecommitdiff
path: root/src/compiler/scala/tools/nsc/Global.scala
diff options
context:
space:
mode:
authorPaul Phillips <paulp@improving.org>2010-12-30 08:02:18 +0000
committerPaul Phillips <paulp@improving.org>2010-12-30 08:02:18 +0000
commite33bb82c2d07f428bc1a0f4307a6d6c187c3cbe3 (patch)
treec8b5d6b026858ad9407a65b390c190819990dc12 /src/compiler/scala/tools/nsc/Global.scala
parent3e61c9a5aea00d3b7d7002713f6f9a0acc0a5b8e (diff)
downloadscala-e33bb82c2d07f428bc1a0f4307a6d6c187c3cbe3.tar.gz
scala-e33bb82c2d07f428bc1a0f4307a6d6c187c3cbe3.tar.bz2
scala-e33bb82c2d07f428bc1a0f4307a6d6c187c3cbe3.zip
Tired of paying the DEVIRTUALIZE compilation pr...
Tired of paying the DEVIRTUALIZE compilation price, not to mention checks for conditions which are never true, I disabled it more thoroughly. Found a couple unused fields in expensive places like Symbol. Stomped out some duplicate logic in the world of flattening and places beyond. No review.
Diffstat (limited to 'src/compiler/scala/tools/nsc/Global.scala')
-rw-r--r--src/compiler/scala/tools/nsc/Global.scala4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/compiler/scala/tools/nsc/Global.scala b/src/compiler/scala/tools/nsc/Global.scala
index 1f10d304c1..ca45f1dda9 100644
--- a/src/compiler/scala/tools/nsc/Global.scala
+++ b/src/compiler/scala/tools/nsc/Global.scala
@@ -312,8 +312,8 @@ class Global(var settings: Settings, var reporter: Reporter) extends SymbolTable
override def erasedTypes: Boolean = isErased
private val isFlat = prev.name == "flatten" || prev.flatClasses
override def flatClasses: Boolean = isFlat
- private val isDevirtualized = prev.name == "devirtualize" || prev.devirtualized
- override def devirtualized: Boolean = isDevirtualized // (part of DEVIRTUALIZE)
+ // private val isDevirtualized = prev.name == "devirtualize" || prev.devirtualized
+ // override def devirtualized: Boolean = isDevirtualized // (part of DEVIRTUALIZE)
private val isSpecialized = prev.name == "specialize" || prev.specialized
override def specialized: Boolean = isSpecialized
private val isRefChecked = prev.name == "refchecks" || prev.refChecked