summaryrefslogtreecommitdiff
path: root/src/compiler/scala/tools/nsc/symtab/SymbolTable.scala
diff options
context:
space:
mode:
authorGilles Dubochet <gilles.dubochet@epfl.ch>2007-11-29 15:50:14 +0000
committerGilles Dubochet <gilles.dubochet@epfl.ch>2007-11-29 15:50:14 +0000
commit5e175852a78b2ca4b8b42e1d0cc79c2bd5b72a0f (patch)
tree2a68d2cc7ff6efd999f059b33097e6f9e96ea8c5 /src/compiler/scala/tools/nsc/symtab/SymbolTable.scala
parent8f305d4959487780e20d3fc5ff1071ec92b112d0 (diff)
downloadscala-5e175852a78b2ca4b8b42e1d0cc79c2bd5b72a0f.tar.gz
scala-5e175852a78b2ca4b8b42e1d0cc79c2bd5b72a0f.tar.bz2
scala-5e175852a78b2ca4b8b42e1d0cc79c2bd5b72a0f.zip
Structural calls should be faster thanks to met...
Structural calls should be faster thanks to method caching. Fixed issue #192.
Diffstat (limited to 'src/compiler/scala/tools/nsc/symtab/SymbolTable.scala')
-rw-r--r--src/compiler/scala/tools/nsc/symtab/SymbolTable.scala6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/compiler/scala/tools/nsc/symtab/SymbolTable.scala b/src/compiler/scala/tools/nsc/symtab/SymbolTable.scala
index 4b9b9292cf..de4fa90b7e 100644
--- a/src/compiler/scala/tools/nsc/symtab/SymbolTable.scala
+++ b/src/compiler/scala/tools/nsc/symtab/SymbolTable.scala
@@ -116,6 +116,8 @@ abstract class SymbolTable extends Names
val IOOBException: Name // IndexOutOfBoundsException
val Code : Name
val BoxedNumber : Name
+ val BoxedCharacter : Name
+ val BoxedBoolean : Name
import scala.collection.mutable.HashMap
val Boxed = new HashMap[Name, Name]
@@ -132,6 +134,8 @@ abstract class SymbolTable extends Names
final val Delegate = nme.NOSYMBOL
final val IOOBException = newTermName("java.lang.IndexOutOfBoundsException")
final val BoxedNumber = newTermName("java.lang.Number")
+ final val BoxedCharacter = newTermName("java.lang.Character")
+ final val BoxedBoolean = newTermName("java.lang.Boolean")
Boxed += nme.Boolean -> newTermName("java.lang.Boolean")
Boxed += nme.Byte -> newTermName("java.lang.Byte")
@@ -157,6 +161,8 @@ abstract class SymbolTable extends Names
final val IOOBException = newTermName("System.IndexOutOfRangeException")
final val Code = nme.NOSYMBOL
final val BoxedNumber = newTermName("System.IConvertible")
+ final val BoxedCharacter = newTermName("System.IConvertible")
+ final val BoxedBoolean = newTermName("System.IConvertible")
Boxed += nme.Boolean -> newTermName("System.Boolean")
Boxed += nme.Byte -> newTermName("System.Byte")