aboutsummaryrefslogtreecommitdiff
path: root/compiler/src/dotty/tools/dotc/core/Definitions.scala
diff options
context:
space:
mode:
authorNicolas Stucki <nicolas.stucki@gmail.com>2017-02-27 14:51:22 +0100
committerNicolas Stucki <nicolas.stucki@gmail.com>2017-02-27 14:51:22 +0100
commit917dd73f041a39b4df45c50fc53abbf07d6d1233 (patch)
treede3e01f1c81e2681634f8fcbf772c10eea789a47 /compiler/src/dotty/tools/dotc/core/Definitions.scala
parentd0162aed64def280af8aa812514d101c1563fc28 (diff)
downloaddotty-917dd73f041a39b4df45c50fc53abbf07d6d1233.tar.gz
dotty-917dd73f041a39b4df45c50fc53abbf07d6d1233.tar.bz2
dotty-917dd73f041a39b4df45c50fc53abbf07d6d1233.zip
Remove wrapArrayMethodName from defn.
Note that it is never used and the same method exists in transform.TreeGen
Diffstat (limited to 'compiler/src/dotty/tools/dotc/core/Definitions.scala')
-rw-r--r--compiler/src/dotty/tools/dotc/core/Definitions.scala7
1 files changed, 0 insertions, 7 deletions
diff --git a/compiler/src/dotty/tools/dotc/core/Definitions.scala b/compiler/src/dotty/tools/dotc/core/Definitions.scala
index 847177e2f..79e97becb 100644
--- a/compiler/src/dotty/tools/dotc/core/Definitions.scala
+++ b/compiler/src/dotty/tools/dotc/core/Definitions.scala
@@ -906,13 +906,6 @@ class Definitions {
/** The type of the boxed class corresponding to primitive value type `tp`. */
def boxedType(tp: Type)(implicit ctx: Context): TypeRef = boxedTypes(scalaClassName(tp))
- def wrapArrayMethodName(elemtp: Type): TermName = {
- val cls = elemtp.classSymbol
- if (cls.isPrimitiveValueClass) nme.wrapXArray(cls.name)
- else if (cls.derivesFrom(ObjectClass) && !cls.isPhantomClass) nme.wrapRefArray
- else nme.genericWrapArray
- }
-
type PrimitiveClassEnc = Int
val ByteEnc = 2