diff options
author | Sébastien Doeraene <sjrdoeraene@gmail.com> | 2016-04-13 13:09:19 +0200 |
---|---|---|
committer | Sébastien Doeraene <sjrdoeraene@gmail.com> | 2016-04-13 16:20:46 +0200 |
commit | 51996c8474a06656f8c21302af2b4151bdc2393e (patch) | |
tree | 169bf4b6aadaf4b1af6cd7df95c4311aff04d4a5 /test/instrumented | |
parent | 950f6df06ef122cc6b71a4b402b1b22d9e5376dc (diff) | |
download | scala-51996c8474a06656f8c21302af2b4151bdc2393e.tar.gz scala-51996c8474a06656f8c21302af2b4151bdc2393e.tar.bz2 scala-51996c8474a06656f8c21302af2b4151bdc2393e.zip |
Move ScalaRunTime.isAnyVal to reify.phases.Reify.
Because that is the only call site of that method.
Diffstat (limited to 'test/instrumented')
-rw-r--r-- | test/instrumented/library/scala/runtime/ScalaRunTime.scala | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/test/instrumented/library/scala/runtime/ScalaRunTime.scala b/test/instrumented/library/scala/runtime/ScalaRunTime.scala index 9b01eec039..6e758abde0 100644 --- a/test/instrumented/library/scala/runtime/ScalaRunTime.scala +++ b/test/instrumented/library/scala/runtime/ScalaRunTime.scala @@ -37,11 +37,6 @@ object ScalaRunTime { def isValueClass(clazz: jClass[_]) = clazz.isPrimitive() - def isAnyVal(x: Any) = x match { - case _: Byte | _: Short | _: Char | _: Int | _: Long | _: Float | _: Double | _: Boolean | _: Unit => true - case _ => false - } - /** Return the class object representing an array with element class `clazz`. */ def arrayClass(clazz: jClass[_]): jClass[_] = { |