Kludge: don't let getClass make it into bytecode.

References SI-4931, no review.

git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@25531 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
This commit is contained in:
extempore 2011-08-20 23:26:34 +00:00
parent 9df857c88a
commit d0be5ef5b8
1 changed files with 1 additions and 0 deletions

View File

@ -795,6 +795,7 @@ abstract class GenJVM extends SubComponent with GenJVMUtil with GenAndroid with
def genMethod(m: IMethod) {
if (m.symbol.isStaticConstructor) return
if (m.symbol.name == nme.getClass_) return
debuglog("Generating method " + m.symbol.fullName)
method = m